def testSetX(self): explosion = Explosion(2) explosion.setX(4) self.assertEquals(4, explosion.getX())
def testConstructor(self): explosion = Explosion(2) self.assertEquals(2, explosion.getX()) self.assertEquals(0, explosion.getY()) self.assertEquals(ExplosionVolume_Normal, explosion.getVolume()) self.assertFalse(explosion.isBlowing())