|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
E - public interface IComparableAssert<T,E extends IAssert>
类型值可以比较大小的断言
| 方法摘要 | |
|---|---|
E |
isBetween(T min,
T max)
断言对象在最小值和最大值之间(包括最大值和最小值) |
E |
isGe(T min)
want the actual number is greater than or equal to the expected number. |
E |
isGreaterEqual(T min)
want the actual number is greater than or equal to the expected number. |
E |
isGreaterThan(T min)
want the actual number is greater than the expected number. |
E |
isGt(T min)
want the actual number is greater than the expected number. |
E |
isLe(T max)
want the actual number is less than or equal to the expected number. |
E |
isLessEqual(T max)
want the actual number is less than or equal to the expected number. |
E |
isLessThan(T max)
want the actual number is less than the expected number. |
E |
isLt(T max)
want the actual number is less than the expected number. |
| 方法详细信息 |
|---|
E isLt(T max)
max - 期望最大值
E isLe(T max)
max - 期望最大值
E isGt(T min)
min - 期望最小值
E isGe(T min)
min - 期望最小值
E isBetween(T min,
T max)
min - 期望最小值max - 期望最大值
E isLessThan(T max)
isLt(Object)
E isLessEqual(T max)
isLe(Object)
E isGreaterThan(T min)
isGt(Object)
E isGreaterEqual(T min)
isGe(Object)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||