.autotest

This commit is contained in:
Mirek Fidler 2021-11-27 18:08:18 +01:00
parent 1a71bba7ca
commit a6a071a16c

View file

@ -43,6 +43,10 @@ void Test(double x)
dumpe(30);
if(std::isfinite(x)) {
RDUMP(x);
RDUMP(FormatG(x, 17));
RDUMPHEX(FormatG(x, 17));
RDUMP(Atof(FormatG(x, 17)));
ASSERT(Atof(FormatG(x, 17)) == x);
}
}