Exemple #1
0
        public void MoutionTest()
        {
            GunBullet testedGunBullet = new GunBullet(new CoupleDouble(1, 1), new CoupleDouble(1, 1), new CoupleDouble(-1, -1));

            for (int i = 2; i <= 5; i++)
            {
                testedGunBullet.ChengeState(new CoupleDouble(100, 100));
                CoupleDouble expected = new CoupleDouble(i, i);

                Assert.AreEqual(expected, testedGunBullet.Pos);
            }
        }