mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 01:20:17 +00:00
Test negation operation (unary -) for Point
This commit is contained in:
parent
82958681d1
commit
4f33bd8e14
@ -29,3 +29,7 @@ assert(pt.y == 20)
|
||||
pt = Point{45, 25}
|
||||
assert(pt.x == 45)
|
||||
assert(pt.y == 25)
|
||||
|
||||
pt = -pt
|
||||
assert(pt.x == -45)
|
||||
assert(pt.y == -25)
|
||||
|
Loading…
x
Reference in New Issue
Block a user