public class AssertionsOnValueComparison extends Object
AssertOnValueComparison
Modifier and Type | Method and Description |
---|---|
static <A extends AbstractAssert> |
isGreaterThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
Number expected)
Verifies that the value is greater than a number.
|
static <A extends AbstractAssert> |
isGreaterThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
Number expected)
Verifies that the value is greater than or equal to a number.
|
static <A extends AbstractAssert> |
isLessThan(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
Number expected)
Verifies that the value is less than a number.
|
static <A extends AbstractAssert> |
isLessThanOrEqualTo(A assertion,
org.assertj.core.api.WritableAssertionInfo info,
Value value,
Number expected)
Verifies that the value is less than or equal to a number.
|
public static <A extends AbstractAssert> A isGreaterThan(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, Number expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The expected number value.this
assertion object.AssertionError
- If the value is less than or equal to the number in parameter.public static <A extends AbstractAssert> A isLessThan(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, Number expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The expected number value.this
assertion object.AssertionError
- If the value is greater than or equal to the number in parameter.public static <A extends AbstractAssert> A isGreaterThanOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, Number expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The expected number value.this
assertion object.AssertionError
- If the value is less than the number in parameter.public static <A extends AbstractAssert> A isLessThanOrEqualTo(A assertion, org.assertj.core.api.WritableAssertionInfo info, Value value, Number expected)
A
- The type of the assertion which call this method.assertion
- The assertion which call this method.info
- Writable information about an assertion.value
- The value.expected
- The expected number value.this
assertion object.AssertionError
- If the value is greater than the number in parameter.Copyright © 2015–2016 AssertJ. All rights reserved.