Update test.cpp
This commit is contained in:
parent
f6f88e567e
commit
db99c1aa64
|
@ -837,6 +837,9 @@ void ValueTest() {
|
|||
|
||||
// Test conversion functions.
|
||||
TEST_EQ(FloatCompare(TestValue("{ Y:cos(rad(180)) }"), -1), true);
|
||||
|
||||
// Test negative hex constant.
|
||||
TEST_EQ(TestValue("{ Y:-0x80 }") == -128, true);
|
||||
}
|
||||
|
||||
void EnumStringsTest() {
|
||||
|
|
Loading…
Reference in New Issue