The lessThan
operation
Asserts that the tested value is less than the tested value. However, it’s often best to assert that the target is equal to its expected value.
Works with:
- expect(
core.time.Duration
).[to].[be].lessThan(core.time.Duration
) - expect(
std.datetime.systime.SysTime
).[to].[be].lessThan(std.datetime.systime.SysTime
) - expect(
byte
).[to].[be].lessThan(byte
) - expect(
ubyte
).[to].[be].lessThan(ubyte
) - expect(
short
).[to].[be].lessThan(short
) - expect(
ushort
).[to].[be].lessThan(ushort
) - expect(
int
).[to].[be].lessThan(int
) - expect(
uint
).[to].[be].lessThan(uint
) - expect(
long
).[to].[be].lessThan(long
) - expect(
ulong
).[to].[be].lessThan(ulong
) - expect(
float
).[to].[be].lessThan(float
) - expect(
double
).[to].[be].lessThan(double
) - expect(
real
).[to].[be].lessThan(real
) - expect(
byte
).[to].[be].lessThan(int
) - expect(
ubyte
).[to].[be].lessThan(int
) - expect(
short
).[to].[be].lessThan(int
) - expect(
ushort
).[to].[be].lessThan(int
) - expect(
int
).[to].[be].lessThan(int
) - expect(
uint
).[to].[be].lessThan(int
) - expect(
long
).[to].[be].lessThan(int
) - expect(
ulong
).[to].[be].lessThan(int
) - expect(
float
).[to].[be].lessThan(int
) - expect(
double
).[to].[be].lessThan(int
) - expect(
real
).[to].[be].lessThan(int
)