We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea05286 commit bf03d16Copy full SHA for bf03d16
src/test/java/com/thealgorithms/strings/LowerTest.java
@@ -0,0 +1,18 @@
1
+package com.thealgorithms.strings;
2
+
3
+import org.junit.jupiter.api.Test;
4
5
+import static org.junit.jupiter.api.Assertions.*;
6
7
+public class LowerTest {
8
+ @Test
9
+ public void toLowerCase() {
10
+ String input1 = "hello world";
11
+ String input2 = "HelLO WoRld";
12
+ String input3 = "HELLO WORLD";
13
14
+ assertEquals("hello world", Lower.toLowerCase(input1));
15
+ assertEquals("hello world", Lower.toLowerCase(input2));
16
+ assertEquals("hello world", Lower.toLowerCase(input3));
17
+ }
18
+}
0 commit comments