mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Add more test coverage for RGBASM (#1256)
This also fixes two bugs: `-1 >>> 32` was -1 not 0, and `macro_FreeArgs` should have been called but wasn't.
This commit is contained in:
@@ -15,6 +15,7 @@ ENDM
|
||||
test -(v 3)**(v 4) == (v -81)
|
||||
test (v 1) << (v 30) == (v $4000_0000)
|
||||
test (v 2)**(v 30) == (v $4000_0000)
|
||||
test (v 37)/(v 2) == (v 18)
|
||||
|
||||
assert DIV(5.0, 2.0) == 2.5
|
||||
assert DIV(-5.0, 2.0) == -2.5
|
||||
|
||||
Reference in New Issue
Block a user