Last active
April 6, 2021 04:31
-
-
Save ultimate-qa2/85d501675f6e3f1f9f25576de8c79ec3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
public void compareStrings() { | |
String firstWord = "COMPARISON"; | |
String secondWord = "comparison"; | |
Assert.assertEquals(firstWord.toLowerCase(), (secondWord.toLowerCase())); | |
Assert.assertTrue(firstWord.toLowerCase().equals(secondWord.toLowerCase())); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment