mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 10:50:54 +01:00
tests: Also add -0.125 as an extra fmov test
This is probably unnecessary but more coverage = better
This commit is contained in:
parent
5d722d9e14
commit
bf33cb6f32
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ assert(8 * vector(8, 16, 24) == vector(64, 128, 192));
|
|||
assert(vector(1, 2, 4) * '8' == vector(8, 16, 32));
|
||||
assert('8' * vector(8, 16, 24) == vector(64, 128, 192));
|
||||
|
||||
assert(vector(1, 2, 4) * -0.125 == vector(-0.125, -0.25, -0.5))
|
||||
assert(-0.125 * vector(1, 2, 4) == vector(-0.125, -0.25, -0.5))
|
||||
|
||||
assert(vector(1, 2, 4) * 100 == vector(100, 200, 400))
|
||||
assert(100 * vector(1, 2, 4) == vector(100, 200, 400))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue