diff options
author | Lukáš Hejl <hejl.lukas@gmail.com> | 2021-09-09 13:01:31 +0300 |
---|---|---|
committer | Lukáš Hejl <hejl.lukas@gmail.com> | 2021-09-11 01:54:30 +0300 |
commit | e520454c3e1988c894399f138c863495505dec3e (patch) | |
tree | f2d2bc8f65124dd1ae08b88498de1f1078945e92 /tests | |
parent | d2a185ddb69d4a65910016933ed283cc7fcd6926 (diff) |
Fixed unit tests after the previous commit.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fff_print/test_gcodewriter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/fff_print/test_gcodewriter.cpp b/tests/fff_print/test_gcodewriter.cpp index a4c8aa09a..15ffaebb4 100644 --- a/tests/fff_print/test_gcodewriter.cpp +++ b/tests/fff_print/test_gcodewriter.cpp @@ -78,13 +78,13 @@ SCENARIO("set_speed emits values with fixed-point output.", "[GCodeWriter]") { } } WHEN("set_speed is called to set speed to 1") { - THEN("Output string is G1 F1.000") { - REQUIRE_THAT(writer.set_speed(1.0), Catch::Equals("G1 F1.000\n")); + THEN("Output string is G1 F1") { + REQUIRE_THAT(writer.set_speed(1.0), Catch::Equals("G1 F1\n")); } } WHEN("set_speed is called to set speed to 203.200022") { - THEN("Output string is G1 F203.200") { - REQUIRE_THAT(writer.set_speed(203.200022), Catch::Equals("G1 F203.200\n")); + THEN("Output string is G1 F203.2") { + REQUIRE_THAT(writer.set_speed(203.200022), Catch::Equals("G1 F203.2\n")); } } WHEN("set_speed is called to set speed to 203.200522") { |