Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 993 Bytes

between.md

File metadata and controls

20 lines (17 loc) · 993 Bytes

The between operation

up

Asserts that the target is a number or a date greater than or equal to the given number or date start, and less than or equal to the given number or date finish respectively. However, it's often best to assert that the target is equal to its expected value.

Works with:

  • expect(core.time.Duration).[to].[be].between(core.time.Duration)
  • expect(std.datetime.systime.SysTime).[to].[be].between(std.datetime.systime.SysTime)
  • expect(byte).[to].[be].between(byte)
  • expect(ubyte).[to].[be].between(ubyte)
  • expect(short).[to].[be].between(short)
  • expect(ushort).[to].[be].between(ushort)
  • expect(int).[to].[be].between(int)
  • expect(uint).[to].[be].between(uint)
  • expect(long).[to].[be].between(long)
  • expect(ulong).[to].[be].between(ulong)
  • expect(float).[to].[be].between(float)
  • expect(double).[to].[be].between(double)
  • expect(real).[to].[be].between(real)