Commit 135bc8ae authored by Charles G Waldman's avatar Charles G Waldman
Browse files

update to catch2 3.x

parent b045c0ba
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ angle = 370
    square(size = [2, 3], center = false);
}
)"),
                    Catch::Contains("action<extrude_rot>"));
                    Matchers::Contains("action<extrude_rot>"));
}

TEST_CASE("extrude two shapes", "[csg]") {
+3 −3
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ hull() {
	sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
)"),
                    Catch::Contains("action<hull>"));
                    Matchers::Contains("action<hull>"));
}

TEST_CASE("hull with three elements not supported", "[csg]") {
@@ -53,7 +53,7 @@ hull() {
	sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
)"),
                    Catch::Contains("action<hull>"));
                    Matchers::Contains("action<hull>"));
}

TEST_CASE("hull with other shape combos not supported", "[csg]") {
@@ -63,7 +63,7 @@ hull() {
	sphere($fn = 0, $fa = 12, $fs = 2, r = 4);
}
)"),
                    Catch::Contains("action<hull>"));
                    Matchers::Contains("action<hull>"));
}

} // namespace