コード例 #1
0
 public void getImageTest()
 {
     IAnimal target = new Animal("Bob", AnimalTypes.animalTypes.Cat);
     Bitmap expected = target.getImage();
     Bitmap actual;
     actual = target.getImage();
     Assert.AreEqual(expected, actual);
 }
コード例 #2
0
 public void getImageTest1()
 {
     string name = string.Empty; // TODO: Initialize to an appropriate value
     AnimalTypes.animalTypes type = new AnimalTypes.animalTypes(); // TODO: Initialize to an appropriate value
     Animal target = new Animal(name, type); // TODO: Initialize to an appropriate value
     Bitmap expected = null; // TODO: Initialize to an appropriate value
     Bitmap actual;
     actual = target.getImage();
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }