mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-12 07:50:59 +00:00
Update test.cpp
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user