little more code coverage

This commit is contained in:
2019-02-09 18:10:44 +07:00
parent 69103badbf
commit 13767cdea0
5 changed files with 87 additions and 3 deletions

View File

@@ -8,6 +8,10 @@
using namespace e2d;
TEST_CASE("rect") {
{
REQUIRE(b2i::zero() == b2i(0,0,0,0));
REQUIRE(b2i::unit() == b2i(0,0,1,1));
}
{
REQUIRE(b2i().position == v2i(0,0));
REQUIRE(b2i().size == v2i(0,0));