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 0a2c0dd commit 59ed7daCopy full SHA for 59ed7da
src/test/java/com/fishercoder/_58Test.java
@@ -0,0 +1,21 @@
1
+package com.fishercoder;
2
+
3
+import com.fishercoder.solutions._58;
4
+import org.junit.BeforeClass;
5
+import org.junit.Test;
6
7
+import static org.junit.Assert.assertEquals;
8
9
+public class _58Test {
10
+ private static _58.Solution1 solution1;
11
12
+ @BeforeClass
13
+ public static void setup() {
14
+ solution1 = new _58.Solution1();
15
+ }
16
17
+ @Test
18
+ public void test1() {
19
+ assertEquals(5, solution1.lengthOfLastWord("Hello World"));
20
21
+}
0 commit comments