mirror of
https://github.com/enduro2d/enduro2d.git
synced 2026-01-05 01:51:02 +07:00
little more code coverage
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user