This commit is contained in:
Shekhar Gulati
2016-06-26 22:10:03 +05:30
parent e251cc07d8
commit dfc05347bf
2 changed files with 20 additions and 1 deletions
+7
View File
@@ -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));
}
}