Searched refs:double_val (Results 1 – 2 of 2) sorted by relevance
/external/chromium/base/json/ |
D | json_reader_unittest.cc | 78 double double_val; in TEST() local 80 double_val = 0.0; in TEST() 81 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST() 82 ASSERT_DOUBLE_EQ(2147483648.0, double_val); in TEST() 86 double_val = 0.0; in TEST() 87 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST() 88 ASSERT_DOUBLE_EQ(-2147483649.0, double_val); in TEST() 94 double_val = 0.0; in TEST() 95 ASSERT_TRUE(root->GetAsDouble(&double_val)); in TEST() 96 ASSERT_DOUBLE_EQ(43.1, double_val); in TEST() [all …]
|
/external/stlport/test/unit/ |
D | cmath_test.cpp | 43 double double_val = -1.0; in import_checks() local 52 CPPUNIT_CHECK( are_equals(std::abs(double_val), -double_val) ); in import_checks() 58 CPPUNIT_CHECK( are_equals(std::fabs(double_val), -double_val) ); in import_checks() 95 CPPUNIT_CHECK( are_equals(std::modf(100.5, &double_val), 0.5) ); in import_checks() 96 CPPUNIT_CHECK( are_equals(double_val, 100.0) ); in import_checks() 98 double_val = std::frexp(8.0, &int_val); in import_checks() 99 CPPUNIT_CHECK( are_equals(double_val * std::pow(2.0, int_val), 8.0) ); in import_checks()
|