public class GreaterThanKt
| Modifier and Type | Method and Description |
|---|---|
static Matcher<java.lang.Double> |
beGreaterThan(double x) |
static Matcher<java.lang.Double> |
gt(double x) |
static void |
shouldBeGreaterThan(double $receiver,
double x)
Asserts that this Double is strictly greater than x
|
static void |
shouldNotBeGreaterThan(double $receiver,
double x)
Asserts that this Double is not strictly greater than x
|
public static void shouldBeGreaterThan(double $receiver,
double x)
Asserts that this Double is strictly greater than x
Verifies that this Double is strictly greater than than x (excludes x itself]
Opposite of GreaterThanKt.shouldNotBeGreaterThan
0.2 shouldBeGreaterThan 0.1 // Assertion passes
0.2 shouldBeGreaterThan 0.2 // Assertion fails
0.2 shouldBeGreaterThan 0.3 // Assertion fails
public static void shouldNotBeGreaterThan(double $receiver,
double x)
Asserts that this Double is not strictly greater than x
Opposite of GreaterThanKt.shouldBeGreaterThan
0.2 shouldNotBeGreaterThan 0.1 // Assertion fails
0.2 shouldNotBeGreaterThan 0.2 // Assertion passes
0.2 shouldNotBeGreaterThan 0.3 // Assertion passes
public static Matcher<java.lang.Double> gt(double x)
public static Matcher<java.lang.Double> beGreaterThan(double x)