MCPcopy Create free account
hub / github.com/chen3feng/toft / TestFloatIncorrect

Function TestFloatIncorrect

base/string/format/scan_test.cpp:158–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156
157template <typename T>
158static void TestFloatIncorrect(const char* format)
159{
160 T v = 0.0;
161 ASSERT_DEBUG_DEATH(StringScan("3.14", format, &v), "");
162}
163
164TEST(ScanDeathTest, FloatInvalid)
165{

Callers

nothing calls this directly

Calls 1

StringScanFunction · 0.85

Tested by

no test coverage detected