Commit db99c1aa authored by Raman's avatar Raman Committed by GitHub

Update test.cpp

parent f6f88e56
......@@ -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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment