Software Engineering “im WiSe18"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

TestClass.java 315B

12345678910111213141516171819
  1. import org.junit.Test;
  2. import static org.junit.Assert.*;
  3. public class TestClass {
  4. @Test
  5. public void test1(){
  6. // arrange
  7. Person p = new Person("Dani", "Estade", 18);
  8. Spender s = new Spender( "titi", "nase", 22 , 33);
  9. //act
  10. assertEquals("titi", s.name);
  11. }
  12. }