Spender Klasse fertig

This commit is contained in:
amadoubahaa68134
2018-12-20 16:49:10 +01:00
parent 526e01a80f
commit b587d1a401
3 changed files with 20 additions and 20 deletions
+19
View File
@@ -0,0 +1,19 @@
import org.junit.Test;
import static org.junit.Assert.*;
public class TestClass {
@Test
public void test1(){
// arrange
Person p = new Person("Dani", "Estade", 18);
Spender s = new Spender( "titi", "nase", 22 , 33);
//act
assertEquals("titi", s.name);
}
}