Spender Klasse fertig

This commit is contained in:
amadoubahaa68134 committed 2018-12-20 16:49:10 +01:00
1 parent 526e01a80f
commit b587d1a401
3 files changed
+20 -20

No files matched your search

+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);
}
}