sinojelly / mockcpp

Two C/C++ testing tools, mockcpp and testngpp.
Apache License 2.0
66 stars 39 forks source link

Two TestFormatter tests failed on Visual Studio 2019 #19

Open sinojelly opened 3 years ago

sinojelly commented 3 years ago

The failed tests are:

--------------------SUITE: TestFormatter--------------------

(TestFormatter)
.................
[  FAILED  ] testShouldBeAbleToStringnizeVerySmallDouble - TestFormatter.h:234: expected (expected == toTypeAndValueString(d)), found ((std::string)"(double)1e-022" != (std::string)"(double)1e-22")
.....
[  FAILED  ] testShouldBeAbleToStringnizeVerySmallFloat - TestFormatter.h:280: expected (expected == toTypeAndValueString(f)), found ((std::string)"(float)1e-022" != (std::string)"(float)1e-22")