Skip to content

Commit

Permalink
Fixed merge conflicts in ProjectileFactoryTest
Browse files Browse the repository at this point in the history
  • Loading branch information
MiniSoda17 committed Sep 7, 2023
1 parent 63709fe commit 8ea29be
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
class ProjectileFactoryTest {
private Entity projectile;

@Disabled
@BeforeEach
public void setUp() {
GameTime gameTime = mock(GameTime.class);
Expand All @@ -56,31 +55,27 @@ public void setUp() {
// ServiceLocator.getResourceService()
// .getAsset("images/projectiles/basic_projectile.atlas", TextureAtlas.class);
Vector2 destination = new Vector2(0.1f, 0.1f);
Vector2 speed = new Vector2(0.2f, 0.2f);

projectile = ProjectileFactory.createBaseProjectile(destination);
}

@Disabled
@Test
public void testBaseProjectileNotNull() {
assertNotNull(projectile, "Base projectile is null");
}

@Disabled
@Test
public void testBaseProjectileHitbox() {
assertNotNull(projectile.getComponent(HitboxComponent.class),
"Projectile does not contain Hotbox component");
}

@Disabled
@Test
public void testBaseProjectilePhysics() {
assertNotNull(projectile.getComponent(PhysicsComponent.class),
"Projectile does not have Physics component");
}

@Disabled
@Test
public void testBaseProjectilePhysicsMovement() {
assertNotNull(projectile.getComponent(PhysicsMovementComponent.class),
Expand Down

0 comments on commit 8ea29be

Please sign in to comment.