@@ -18,27 +18,27 @@ public void testAbbreviation(String a, String b, boolean expected) {
18
18
private static Stream <Arguments > provideTestCases () {
19
19
return Stream .of (
20
20
// Example test case from problem description
21
- Arguments .of ("daBcd" , "ABC" , true ),
21
+ Arguments .of ("daBcd" , "ABC" , Boolean . TRUE ),
22
22
23
23
// Test case where transformation is impossible
24
- Arguments .of ("dBcd" , "ABC" , false ),
24
+ Arguments .of ("dBcd" , "ABC" , Boolean . FALSE ),
25
25
26
26
// Test case with exact match (all uppercase)
27
- Arguments .of ("ABC" , "ABC" , true ),
27
+ Arguments .of ("ABC" , "ABC" , Boolean . TRUE ),
28
28
29
29
// Test case where input string contains all required letters plus extra lowercase letters
30
- Arguments .of ("aAbBcC" , "ABC" , true ),
30
+ Arguments .of ("aAbBcC" , "ABC" , Boolean . TRUE ),
31
31
32
32
// Test case with only lowercase letters in input
33
- Arguments .of ("abcd" , "ABCD" , true ),
33
+ Arguments .of ("abcd" , "ABCD" , Boolean . TRUE ),
34
34
35
35
// Test case with an empty second string (b)
36
- Arguments .of ("abc" , "" , true ),
36
+ Arguments .of ("abc" , "" , Boolean . TRUE ),
37
37
38
38
// Test case with an empty first string (a) but non-empty second string (b)
39
- Arguments .of ("" , "A" , false ),
39
+ Arguments .of ("" , "A" , Boolean . FALSE ),
40
40
41
41
// Complex case with interleaved letters
42
- Arguments .of ("daBcAbCd" , "ABCD" , false ));
42
+ Arguments .of ("daBcAbCd" , "ABCD" , Boolean . FALSE ));
43
43
}
44
44
}
0 commit comments