mirror of
https://github.com/zoriya/Quadtree.git
synced 2025-12-06 06:36:09 +00:00
Removing trailling spaces in the tests
This commit is contained in:
@@ -32,10 +32,10 @@ Test(qt_add, with_split)
|
|||||||
qt_add(tree, (qt_object){2, {0, 0, 100, 100}});
|
qt_add(tree, (qt_object){2, {0, 0, 100, 100}});
|
||||||
qt_add(tree, (qt_object){4, {550, 0, 100, 100}});
|
qt_add(tree, (qt_object){4, {550, 0, 100, 100}});
|
||||||
cr_assert_eq(tree->capacity, -1);
|
cr_assert_eq(tree->capacity, -1);
|
||||||
child = &((quadtree *)tree->objects)[0];
|
child = &((quadtree *)tree->objects)[0];
|
||||||
cr_assert_eq(((qt_object *)child->objects)[0].id, 0);
|
cr_assert_eq(((qt_object *)child->objects)[0].id, 0);
|
||||||
cr_assert_eq(((qt_object *)child->objects)[1].id, 1);
|
cr_assert_eq(((qt_object *)child->objects)[1].id, 1);
|
||||||
cr_assert_eq(((qt_object *)child->objects)[2].id, 2);
|
cr_assert_eq(((qt_object *)child->objects)[2].id, 2);
|
||||||
child = &((quadtree *)tree->objects)[1];
|
child = &((quadtree *)tree->objects)[1];
|
||||||
cr_assert_eq(((qt_object *)child->objects)[0].id, 4);
|
cr_assert_eq(((qt_object *)child->objects)[0].id, 4);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user