mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
@@ -1,16 +1,16 @@
|
||||
package com.thealgorithms.strings;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
public class LowerTest {
|
||||
@Test
|
||||
public void toLowerCase() {
|
||||
String input1 = "hello world";
|
||||
String input2 = "HelLO WoRld";
|
||||
String input3 = "HELLO WORLD";
|
||||
|
||||
|
||||
assertEquals("hello world", Lower.toLowerCase(input1));
|
||||
assertEquals("hello world", Lower.toLowerCase(input2));
|
||||
assertEquals("hello world", Lower.toLowerCase(input3));
|
||||
|
||||
Reference in New Issue
Block a user