Searched refs:AsBool (Results 1 – 3 of 3) sorted by relevance
1715 TEST_EQ(vec[4].AsBool(), false); // Check if value is false in FlexBuffersTest()1722 TEST_EQ(map["bool"].AsBool(), true); in FlexBuffersTest()1740 TEST_EQ(vec[4].AsBool(), false); // Is false before change in FlexBuffersTest()1742 TEST_EQ(vec[4].AsBool(), true); // Changed bool is now true in FlexBuffersTest()1757 TEST_EQ(jmap["c"].AsBool(), true); // Parsed correctly to true in FlexBuffersTest()1759 TEST_EQ(jmap["d"].AsBool(), false); // Parsed correctly to false in FlexBuffersTest()
369 bool AsBool() const { in AsBool() function509 s += AsBool() ? "true" : "false"; in ToString()694 template<> inline bool Reference::As<bool>() { return AsBool(); }
754 (*attr)[key].set_b(value.AsBool()); in ReadOptions()