mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Merge pull request #104793 from YYF233333/remove_astar_stress_test
Remove stress unit tests
This commit is contained in:
@@ -2185,22 +2185,4 @@ TEST_CASE("[String][URL] Parse URL") {
|
||||
|
||||
#undef CHECK_URL
|
||||
}
|
||||
|
||||
TEST_CASE("[Stress][String] Empty via ' == String()'") {
|
||||
for (int i = 0; i < 100000; ++i) {
|
||||
String str = "Hello World!";
|
||||
if (str == String()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TEST_CASE("[Stress][String] Empty via `is_empty()`") {
|
||||
for (int i = 0; i < 100000; ++i) {
|
||||
String str = "Hello World!";
|
||||
if (str.is_empty()) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace TestString
|
||||
|
||||
Reference in New Issue
Block a user