Lines Matching refs:asDouble

265   JSONTEST_ASSERT_EQUAL(0.0, null_.asDouble());  in JSONTEST_FIXTURE()
329 JSONTEST_ASSERT_EQUAL(1.0, true_.asDouble()); in JSONTEST_FIXTURE()
337 JSONTEST_ASSERT_EQUAL(0.0, false_.asDouble()); in JSONTEST_FIXTURE()
387 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
415 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
443 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
471 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
499 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
527 JSONTEST_ASSERT_EQUAL(0.0, val.asDouble()); in JSONTEST_FIXTURE()
554 JSONTEST_ASSERT_EQUAL((1 << 20), val.asDouble()); in JSONTEST_FIXTURE()
582 JSONTEST_ASSERT_EQUAL((1 << 20), val.asDouble()); in JSONTEST_FIXTURE()
610 JSONTEST_ASSERT_EQUAL((1 << 20), val.asDouble()); in JSONTEST_FIXTURE()
635 JSONTEST_ASSERT_EQUAL(-(1 << 20), val.asDouble()); in JSONTEST_FIXTURE()
663 JSONTEST_ASSERT_EQUAL(kint32max, val.asDouble()); in JSONTEST_FIXTURE()
687 JSONTEST_ASSERT_EQUAL(kint32min, val.asDouble()); in JSONTEST_FIXTURE()
715 JSONTEST_ASSERT_EQUAL(kuint32max, val.asDouble()); in JSONTEST_FIXTURE()
735 JSONTEST_ASSERT_EQUAL(double(kint64max), val.asDouble()); in JSONTEST_FIXTURE()
754 JSONTEST_ASSERT_EQUAL(double(kint64min), val.asDouble()); in JSONTEST_FIXTURE()
773 JSONTEST_ASSERT_EQUAL(double(kuint64max), val.asDouble()); in JSONTEST_FIXTURE()
799 JSONTEST_ASSERT_EQUAL((Json::Int64(1) << 40), val.asDouble()); in JSONTEST_FIXTURE()
825 JSONTEST_ASSERT_EQUAL((Json::Int64(1) << 40), val.asDouble()); in JSONTEST_FIXTURE()
851 JSONTEST_ASSERT_EQUAL((Json::Int64(1) << 40), val.asDouble()); in JSONTEST_FIXTURE()
875 JSONTEST_ASSERT_EQUAL(-(Json::Int64(1) << 40), val.asDouble()); in JSONTEST_FIXTURE()
901 JSONTEST_ASSERT_EQUAL(double(kint64max), val.asDouble()); in JSONTEST_FIXTURE()
925 JSONTEST_ASSERT_EQUAL(uint64ToDouble(Json::UInt64(1) << 63), val.asDouble()); in JSONTEST_FIXTURE()
950 JSONTEST_ASSERT_EQUAL(double(kint64min), val.asDouble()); in JSONTEST_FIXTURE()
974 JSONTEST_ASSERT_EQUAL(-9223372036854775808.0, val.asDouble()); in JSONTEST_FIXTURE()
999 JSONTEST_ASSERT_EQUAL(uint64ToDouble(ten_to_19), val.asDouble()); in JSONTEST_FIXTURE()
1021 JSONTEST_ASSERT_EQUAL(1e19, val.asDouble()); in JSONTEST_FIXTURE()
1045 JSONTEST_ASSERT_EQUAL(uint64ToDouble(kuint64max), val.asDouble()); in JSONTEST_FIXTURE()
1065 JSONTEST_ASSERT_EQUAL(18446744073709551616.0, val.asDouble()); in JSONTEST_FIXTURE()
1096 JSONTEST_ASSERT_EQUAL(1.5, val.asDouble()); in JSONTEST_FIXTURE()
1124 JSONTEST_ASSERT_EQUAL(-1.5, val.asDouble()); in JSONTEST_FIXTURE()
1150 JSONTEST_ASSERT_EQUAL(2147483647.5, val.asDouble()); in JSONTEST_FIXTURE()
1180 JSONTEST_ASSERT_EQUAL(-2147483648.5, val.asDouble()); in JSONTEST_FIXTURE()
1208 JSONTEST_ASSERT_EQUAL(4294967295.5, val.asDouble()); in JSONTEST_FIXTURE()
1237 JSONTEST_ASSERT_EQUAL(double(1.2345678e300), val.asDouble()); in JSONTEST_FIXTURE()
1468 JSONTEST_ASSERT_THROWS(strVal.asDouble()); in JSONTEST_FIXTURE()
1469 JSONTEST_ASSERT_THROWS(objVal.asDouble()); in JSONTEST_FIXTURE()
1470 JSONTEST_ASSERT_THROWS(arrVal.asDouble()); in JSONTEST_FIXTURE()