Beispiel #1
0
 public void PlayerImageTest2()
 {
     _testImage = PlayerImage.ImageDecider(Int32.MaxValue);
     Assert.AreEqual(_testImage, new Image(Path.Combine("Assets", "Images", "Taxi_Thrust_None.png")));
 }
Beispiel #2
0
 public void PlayerImageTest3()
 {
     _testImage = PlayerImage.ImageDecider(12);
     Assert.AreEqual(_testImage, new ImageStride(80,
                                                 ImageStride.CreateStrides(2, Path.Combine("Assets", "Images", "Taxi_Thrust_Bottom_Back.png"))));
 }
Beispiel #3
0
 public void PlayerImageTest1()
 {
     _testImage = PlayerImage.ImageDecider(-1);
     Assert.AreEqual(_testImage, new Image(Path.Combine("Assets", "Images", "Taxi_Thrust_None_Right.png")));
 }