mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-23 15:50:49 +01:00
Fix AllocationFailure when multiple instances
This commit is contained in:
4
test.cpp
4
test.cpp
@@ -126,7 +126,7 @@ void testPoolExpressionAllocationFail() {
|
||||
|
||||
f1.replaceWith(f11);
|
||||
float result2 = a1.approximate();
|
||||
assert(result2 == 0);
|
||||
assert(result2 == -1);
|
||||
}
|
||||
|
||||
void testPoolExpressionAllocationFail2() {
|
||||
@@ -211,7 +211,7 @@ int main() {
|
||||
runTest(testPoolEmpties);
|
||||
runTest(testCursorCreateAndRetain);
|
||||
runTest(testCursorMoveLeft);
|
||||
//runTest(testPoolExpressionAllocationFail);
|
||||
runTest(testPoolExpressionAllocationFail);
|
||||
runTest(testPoolExpressionAllocationFail2);
|
||||
printf("\n*******************\nEnd of tests\n*******************\n\n");
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user