Skip to content

Commit a0ce453

Browse files
committed
another possible fix for unending runtime on Windows build -- add extra assertion
1 parent 28f9c45 commit a0ce453

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/java/unittest/testcases/graphics/game/GameObjectTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ void checkUpdateBehaviors_shouldIncrementPointf() {
115115

116116
gameObject.addBehavior(mockBehavior, mockScene);
117117
gameObject.initBehaviors();
118+
assertNotNull(mockBehavior.getPointf());
118119

119120
int expectedIncrement = 15;
120121
for (int i = 0; i < expectedIncrement; i++) {

0 commit comments

Comments
 (0)