mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 15:19:35 +01:00
Oppdaterer partikkel id i tester
This commit is contained in:
parent
232d2d9a8a
commit
f29121619a
@ -12,22 +12,22 @@ import static org.junit.Assert.assertEquals;
|
||||
public class ParticleTypeTest {
|
||||
@Test
|
||||
public void getTileTypeIDForLaserBeam() {
|
||||
assertEquals(1, ParticleType.LASER_BEAM_SINGLE.getParticleTypeID());
|
||||
assertEquals(10, ParticleType.LASER_BEAM_SINGLE.getParticleTypeID());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTileTypeFromLaserBeamID() {
|
||||
assertEquals(ParticleType.LASER_BEAM_SINGLE, ParticleType.getParticleTypeFromID(1));
|
||||
assertEquals(ParticleType.LASER_BEAM_SINGLE, ParticleType.getParticleTypeFromID(10));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTileTypeIDForLaserBeamDouble() {
|
||||
assertEquals(2, ParticleType.LASER_BEAM_DOUBLE.getParticleTypeID());
|
||||
assertEquals(20, ParticleType.LASER_BEAM_DOUBLE.getParticleTypeID());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void getTileTypeFromLaserBeamDoubleID() {
|
||||
assertEquals(ParticleType.LASER_BEAM_DOUBLE, ParticleType.getParticleTypeFromID(2));
|
||||
assertEquals(ParticleType.LASER_BEAM_DOUBLE, ParticleType.getParticleTypeFromID(20));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user