Skip to content

Instantly share code, notes, and snippets.

@ultimate-qa2
Last active March 26, 2021 06:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ultimate-qa2/4b102f95b88f56ba7574423a3670a83c to your computer and use it in GitHub Desktop.
Save ultimate-qa2/4b102f95b88f56ba7574423a3670a83c to your computer and use it in GitHub Desktop.
import org.junit.Assert;
import org.junit.Test;
public class Exercises {
@Test
public void comparison() {
double num1 = 10;
double num2 = 5.5;
Assert.assertTrue("The second number is higher than the first.",num1 > num2);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment