Browse Source

testPotenzieren

remotes/origin/H.F.F/Taschenrechner
fdai7446 2 years ago
parent
commit
b739679bc0
  1. 5
      TaschenrechnerTest.java

5
TaschenrechnerTest.java

@ -38,7 +38,12 @@ public class TaschenrechnerTest {
@Test
public void testPotenzieren() {
int a = 2;
int b = 3;
int ab = (int)Math.pow(a, b);
int result = Taschenrechner.potenzieren(a, b);
assertEquals(ab, result);
}
@Test

Loading…
Cancel
Save