Skip to content

Commit

Permalink
fix build-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Apr 23, 2024
1 parent 6aeec9e commit f71b915
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit_test_001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ unittest(test_constructor)
// assertEqual(113, pi.denominator());
// (15689, 4994)
assertFalse(pi.isProper());
fprintf(stderr, "PI %1.8f \n", PI);
fprintf(stderr, "PI %s => %1.8f\n", pi.toString(), pi.toFloat());
fprintf(stderr, "PI %1.8f\n", PI);
fprintf(stderr, "pi %1.8f\n", pi.toFloat());

Fraction ee(EULER);
assertEqualFloat(EULER, ee.toFloat(), 0.0001)
Expand All @@ -60,8 +60,8 @@ unittest(test_constructor)
// assertEqual(1466, ee.denominator());
// (2721, 1001)
assertFalse(ee.isProper());
fprintf(stderr, "EULER %1.8f \n", EULER);
fprintf(stderr, "euler => %s => %1.8f\n", ee.toString(), ee.toFloat());
fprintf(stderr, "EULER %1.8f\n", EULER);
fprintf(stderr, "euler %1.8f\n", ee.toFloat());

Fraction fr(49, 14);
assertEqual(7, fr.nominator());
Expand Down

0 comments on commit f71b915

Please sign in to comment.