@ -12,6 +12,10 @@ TEST_CASE("make sure the easing functions at least run", "[easings]") {
out = ease::out_bounce(1.13);
REQUIRE(out <= 10 );
out = ease::out_bounce(out);
out = ease::in_out_back(3.4);
REQUIRE(out < 250.0);
}
@ -21,6 +21,7 @@ TEST_CASE("camera control", "[map]") {
Point center = map.center_camera({10,10}, 5, 5);
map.dump(center.x, center.y);
REQUIRE(center.x == 8);
REQUIRE(center.y == 8);