mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-10-08 04:43:57 +00:00
Resolved #49
This commit is contained in:
@@ -819,5 +819,12 @@ public class StrmanTest {
|
||||
Arrays.stream(fixture).forEach(el -> assertThat(String.format("toSnakeCase(%s) should be de_camelize", el), toSnakeCase(el), equalTo("de_camelize")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unequal_shouldTestInequalityOfStrings() throws Exception {
|
||||
assertThat(unequal("a", "b"), equalTo(true));
|
||||
assertThat(unequal("a", "a"), equalTo(false));
|
||||
assertThat(unequal("0", "1"), equalTo(true));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user