MCPcopy Create free account
hub / github.com/HowardHinnant/date / test_D

Function test_D

test/date_test/parse.pass.cpp:404–417  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

402}
403
404void
405test_D()
406{
407 using namespace date;
408 using namespace std::chrono;
409 {
410 std::istringstream in{"12/11/16"};
411 sys_days tp;
412 in >> parse("%D", tp);
413 assert(!in.fail());
414 assert(!in.bad());
415 assert(tp == 2016_y/12/11);
416 }
417}
418
419void
420test_F()

Callers 1

mainFunction · 0.85

Calls 1

parseFunction · 0.85

Tested by

no test coverage detected