Skip to content

Commit

Permalink
test: added basic world non-null assertion for broadphase
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmasB committed Feb 11, 2022
1 parent 39d4017 commit 868ceb9
Showing 1 changed file with 25 additions and 0 deletions.
@@ -0,0 +1,25 @@
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB (almaslvl@gmail.com).
* See LICENSE for details.
*/

package com.almasb.fxgl.physics.box2d.dynamics

import com.almasb.fxgl.core.math.Vec2
import org.junit.jupiter.api.Assertions.*
import org.junit.jupiter.api.Test

/**
*
* @author Almas Baimagambetov (almaslvl@gmail.com)
*/
class WorldTest {

@Test
fun `broadphase is not null`() {
val world = World(Vec2())

assertNotNull(world.contactManager.broadPhase)
}
}

0 comments on commit 868ceb9

Please sign in to comment.