12345678910111213141516171819202122232425 |
-
-
- import org.junit.Assert;
- import org.junit.After;
- import org.junit.Before;
- import org.junit.Test;
-
- /**
- * The test class DogTest.
- *
- * @author (your name)
- * @version (a version number or a date)
- */
- public class DogTest
- {
- @Test
- public void testDogSpeak(){
- Pet test = new Dog("Test");
- String expected ="wowowowo";
- String actual = test.speak();
- Assert.assertEquals(expected,actual);
-
- }
-
- }
|