update blackmatov modules

This commit is contained in:
BlackMATov
2023-01-08 16:16:56 +07:00
parent beed5730dc
commit 2801278523
7 changed files with 9 additions and 9 deletions

View File

@@ -10,9 +10,9 @@
#include "../math/_all.hpp"
#include "../utils/_all.hpp"
#include <promise.hpp/jobber.hpp>
#include <promise.hpp/promise.hpp>
#include <promise.hpp/scheduler.hpp>
#include <promise.hpp/bonus/jobber.hpp>
#include <promise.hpp/bonus/scheduler.hpp>
namespace e2d
{

View File

@@ -44,7 +44,7 @@ TEST_CASE("prefab"){
REQUIRE(go.component<named>()->name() == "root");
REQUIRE(go.component<circle_collider>());
REQUIRE(go.component<circle_collider>()->radius() == Approx(5.f));
REQUIRE(go.component<circle_collider>()->radius() == Catch::Approx(5.f));
REQUIRE(go.component<circle_collider>()->offset() == v2f(4.f,2.f));
}
@@ -116,7 +116,7 @@ TEST_CASE("prefab"){
REQUIRE(go.component<rect_collider>()->offset() == v2f(2.f,4.f));
REQUIRE(go.component<circle_collider>());
REQUIRE(go.component<circle_collider>()->radius() == Approx(5.f));
REQUIRE(go.component<circle_collider>()->radius() == Catch::Approx(5.f));
REQUIRE(go.component<circle_collider>()->offset() == v2f(4.f,2.f));
REQUIRE(go.component<polygon_collider>());