aboutsummaryrefslogtreecommitdiff
path: root/src/test/Profiling.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-02 20:34:00 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-02 20:34:00 +0100
commit4bbc27098d5a8907ab0500ad3ccc82283cf95ddf (patch)
treefaf484ea45c432d8a1e22bc51a73325a80766e97 /src/test/Profiling.cpp
parenteeb66130e2cb94c94e1748576f98f78ce0f1ee86 (diff)
merge fix and review fix
Diffstat (limited to 'src/test/Profiling.cpp')
-rw-r--r--src/test/Profiling.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/test/Profiling.cpp b/src/test/Profiling.cpp
index a88bf85..e46d5ff 100644
--- a/src/test/Profiling.cpp
+++ b/src/test/Profiling.cpp
@@ -26,14 +26,6 @@ using namespace std::chrono_literals;
using namespace crepe;
using namespace testing;
-
-/*
-List of test cases with component settings/details
-1. Minimal test creates gameobject without additonal components
-2. Minimal 'Complex' gameobject. Has dynamic body without bounce and no collision handler
-3. Minimal 'Complex' gameobject. Same as test 2 but with particle emitter
-*/
-
class TestScript : public Script {
bool oncollision(const CollisionEvent& test) {
Log::logf("Box {} script on_collision()", test.info.first_collider.game_object_id);
@@ -55,7 +47,7 @@ public:
// Minimum amount to let test pass
const int min_gameobject_count = 100;
// Maximum amount to stop test
- const int max_gameobject_count = 200;
+ const int max_gameobject_count = 150;
// Amount of times a test runs to calculate average
const int average = 5;
// Maximum duration to stop test