Browse Source

testKreisUmfang

remotes/origin/fdai7487-main-patch-56841
fdai7446 2 years ago
parent
commit
ba941723a0
  1. 11
      TaschenrechnerTest.java

11
TaschenrechnerTest.java

@ -86,4 +86,15 @@ public class TaschenrechnerTest {
assertEquals(true, result);
}
@SuppressWarnings("deprecation")
@Test
public void testKreisUmfang() {
int r = 3;
double u = 2* r *Math.PI;
double result = Taschenrechner.kreisUmfang(r);
assertEquals(u, result);
}
}
Loading…
Cancel
Save