upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/test/gameinput_test.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 00:15:38 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 00:15:38 -0300
commitdb22624418504888a9d4728034bc7b393524afc4 (patch)
treede46c7f1967e9b322cfc9a638349febf71250836 /runtime/test/gameinput_test.cpp
parent8df277fb035b384971497f6f9790f7fc4b9ec1d1 (diff)
tests/semantic: float compares with equal operands
test_float_ordered_unordered_and_classify only used (2, NaN) and (2, 3), so an interpreter that dropped the equality part of OpFUnordEqual (or of any *Equal / *LessThanEqual / *GreaterThanEqual compare) still passed, as noted in review on #262. Add 2 vs 2 for all twelve ordered/unordered compares, and -0.0 vs +0.0 for the equality ones.
Diffstat (limited to 'runtime/test/gameinput_test.cpp')
0 files changed, 0 insertions, 0 deletions