Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukáš Hejl <hejl.lukas@gmail.com>2021-09-09 13:01:31 +0300
committerLukáš Hejl <hejl.lukas@gmail.com>2021-09-11 01:54:30 +0300
commite520454c3e1988c894399f138c863495505dec3e (patch)
treef2d2bc8f65124dd1ae08b88498de1f1078945e92 /tests/fff_print
parentd2a185ddb69d4a65910016933ed283cc7fcd6926 (diff)
Fixed unit tests after the previous commit.
Diffstat (limited to 'tests/fff_print')
-rw-r--r--tests/fff_print/test_gcodewriter.cpp8
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") {