mirror of
https://github.com/inf112-v20/Fiasko.git
synced 2025-01-31 23:29:36 +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 {
|
public class ParticleTypeTest {
|
||||||
@Test
|
@Test
|
||||||
public void getTileTypeIDForLaserBeam() {
|
public void getTileTypeIDForLaserBeam() {
|
||||||
assertEquals(1, ParticleType.LASER_BEAM_SINGLE.getParticleTypeID());
|
assertEquals(10, ParticleType.LASER_BEAM_SINGLE.getParticleTypeID());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getTileTypeFromLaserBeamID() {
|
public void getTileTypeFromLaserBeamID() {
|
||||||
assertEquals(ParticleType.LASER_BEAM_SINGLE, ParticleType.getParticleTypeFromID(1));
|
assertEquals(ParticleType.LASER_BEAM_SINGLE, ParticleType.getParticleTypeFromID(10));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getTileTypeIDForLaserBeamDouble() {
|
public void getTileTypeIDForLaserBeamDouble() {
|
||||||
assertEquals(2, ParticleType.LASER_BEAM_DOUBLE.getParticleTypeID());
|
assertEquals(20, ParticleType.LASER_BEAM_DOUBLE.getParticleTypeID());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void getTileTypeFromLaserBeamDoubleID() {
|
public void getTileTypeFromLaserBeamDoubleID() {
|
||||||
assertEquals(ParticleType.LASER_BEAM_DOUBLE, ParticleType.getParticleTypeFromID(2));
|
assertEquals(ParticleType.LASER_BEAM_DOUBLE, ParticleType.getParticleTypeFromID(20));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user