We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b4ac70 commit 77e4813Copy full SHA for 77e4813
src/test/java/com/thealgorithms/maths/TestArmstrong.java
@@ -0,0 +1,15 @@
1
+package com.thealgorithms.maths;
2
+
3
+import org.junit.jupiter.api.Test;
4
5
+import static org.assertj.core.api.Assertions.assertThat;
6
7
+public class TestArmstrong {
8
9
+ @Test
10
+ public void testArmstrong() {
11
+ Armstrong armstrong = new Armstrong();
12
+ assertThat(armstrong.isArmstrong(371)).isTrue();
13
+ assertThat(armstrong.isArmstrong(200)).isFalse();
14
+ }
15
+}
0 commit comments