Asserts that the target is a number that's within a given +/- delta
range of the given number expected. However, it's often best to assert that the target is equal to its expected value.
Works with:
- expect(
byte[]
).[to].[be].approximately(void[]
) - expect(
byte[]
).[to].[be].approximately(byte[]
) - expect(
byte
).[to].[be].approximately(byte
) - expect(
byte[]
).[to].[be].approximately(ubyte[]
) - expect(
byte
).[to].[be].approximately(ubyte
) - expect(
byte[]
).[to].[be].approximately(short[]
) - expect(
byte
).[to].[be].approximately(short
) - expect(
byte[]
).[to].[be].approximately(ushort[]
) - expect(
byte
).[to].[be].approximately(ushort
) - expect(
byte[]
).[to].[be].approximately(int[]
) - expect(
byte
).[to].[be].approximately(int
) - expect(
byte[]
).[to].[be].approximately(uint[]
) - expect(
byte
).[to].[be].approximately(uint
) - expect(
byte[]
).[to].[be].approximately(long[]
) - expect(
byte
).[to].[be].approximately(long
) - expect(
byte[]
).[to].[be].approximately(ulong[]
) - expect(
byte
).[to].[be].approximately(ulong
) - expect(
byte[]
).[to].[be].approximately(float[]
) - expect(
byte
).[to].[be].approximately(float
) - expect(
byte[]
).[to].[be].approximately(double[]
) - expect(
byte
).[to].[be].approximately(double
) - expect(
byte[]
).[to].[be].approximately(real[]
) - expect(
byte
).[to].[be].approximately(real
) - expect(
ubyte[]
).[to].[be].approximately(void[]
) - expect(
ubyte[]
).[to].[be].approximately(byte[]
) - expect(
ubyte
).[to].[be].approximately(byte
) - expect(
ubyte[]
).[to].[be].approximately(ubyte[]
) - expect(
ubyte
).[to].[be].approximately(ubyte
) - expect(
ubyte[]
).[to].[be].approximately(short[]
) - expect(
ubyte
).[to].[be].approximately(short
) - expect(
ubyte[]
).[to].[be].approximately(ushort[]
) - expect(
ubyte
).[to].[be].approximately(ushort
) - expect(
ubyte[]
).[to].[be].approximately(int[]
) - expect(
ubyte
).[to].[be].approximately(int
) - expect(
ubyte[]
).[to].[be].approximately(uint[]
) - expect(
ubyte
).[to].[be].approximately(uint
) - expect(
ubyte[]
).[to].[be].approximately(long[]
) - expect(
ubyte
).[to].[be].approximately(long
) - expect(
ubyte[]
).[to].[be].approximately(ulong[]
) - expect(
ubyte
).[to].[be].approximately(ulong
) - expect(
ubyte[]
).[to].[be].approximately(float[]
) - expect(
ubyte
).[to].[be].approximately(float
) - expect(
ubyte[]
).[to].[be].approximately(double[]
) - expect(
ubyte
).[to].[be].approximately(double
) - expect(
ubyte[]
).[to].[be].approximately(real[]
) - expect(
ubyte
).[to].[be].approximately(real
) - expect(
short[]
).[to].[be].approximately(void[]
) - expect(
short[]
).[to].[be].approximately(byte[]
) - expect(
short
).[to].[be].approximately(byte
) - expect(
short[]
).[to].[be].approximately(ubyte[]
) - expect(
short
).[to].[be].approximately(ubyte
) - expect(
short[]
).[to].[be].approximately(short[]
) - expect(
short
).[to].[be].approximately(short
) - expect(
short[]
).[to].[be].approximately(ushort[]
) - expect(
short
).[to].[be].approximately(ushort
) - expect(
short[]
).[to].[be].approximately(int[]
) - expect(
short
).[to].[be].approximately(int
) - expect(
short[]
).[to].[be].approximately(uint[]
) - expect(
short
).[to].[be].approximately(uint
) - expect(
short[]
).[to].[be].approximately(long[]
) - expect(
short
).[to].[be].approximately(long
) - expect(
short[]
).[to].[be].approximately(ulong[]
) - expect(
short
).[to].[be].approximately(ulong
) - expect(
short[]
).[to].[be].approximately(float[]
) - expect(
short
).[to].[be].approximately(float
) - expect(
short[]
).[to].[be].approximately(double[]
) - expect(
short
).[to].[be].approximately(double
) - expect(
short[]
).[to].[be].approximately(real[]
) - expect(
short
).[to].[be].approximately(real
) - expect(
ushort[]
).[to].[be].approximately(void[]
) - expect(
ushort[]
).[to].[be].approximately(byte[]
) - expect(
ushort
).[to].[be].approximately(byte
) - expect(
ushort[]
).[to].[be].approximately(ubyte[]
) - expect(
ushort
).[to].[be].approximately(ubyte
) - expect(
ushort[]
).[to].[be].approximately(short[]
) - expect(
ushort
).[to].[be].approximately(short
) - expect(
ushort[]
).[to].[be].approximately(ushort[]
) - expect(
ushort
).[to].[be].approximately(ushort
) - expect(
ushort[]
).[to].[be].approximately(int[]
) - expect(
ushort
).[to].[be].approximately(int
) - expect(
ushort[]
).[to].[be].approximately(uint[]
) - expect(
ushort
).[to].[be].approximately(uint
) - expect(
ushort[]
).[to].[be].approximately(long[]
) - expect(
ushort
).[to].[be].approximately(long
) - expect(
ushort[]
).[to].[be].approximately(ulong[]
) - expect(
ushort
).[to].[be].approximately(ulong
) - expect(
ushort[]
).[to].[be].approximately(float[]
) - expect(
ushort
).[to].[be].approximately(float
) - expect(
ushort[]
).[to].[be].approximately(double[]
) - expect(
ushort
).[to].[be].approximately(double
) - expect(
ushort[]
).[to].[be].approximately(real[]
) - expect(
ushort
).[to].[be].approximately(real
) - expect(
int[]
).[to].[be].approximately(void[]
) - expect(
int[]
).[to].[be].approximately(byte[]
) - expect(
int
).[to].[be].approximately(byte
) - expect(
int[]
).[to].[be].approximately(ubyte[]
) - expect(
int
).[to].[be].approximately(ubyte
) - expect(
int[]
).[to].[be].approximately(short[]
) - expect(
int
).[to].[be].approximately(short
) - expect(
int[]
).[to].[be].approximately(ushort[]
) - expect(
int
).[to].[be].approximately(ushort
) - expect(
int[]
).[to].[be].approximately(int[]
) - expect(
int
).[to].[be].approximately(int
) - expect(
int[]
).[to].[be].approximately(uint[]
) - expect(
int
).[to].[be].approximately(uint
) - expect(
int[]
).[to].[be].approximately(long[]
) - expect(
int
).[to].[be].approximately(long
) - expect(
int[]
).[to].[be].approximately(ulong[]
) - expect(
int
).[to].[be].approximately(ulong
) - expect(
int[]
).[to].[be].approximately(float[]
) - expect(
int
).[to].[be].approximately(float
) - expect(
int[]
).[to].[be].approximately(double[]
) - expect(
int
).[to].[be].approximately(double
) - expect(
int[]
).[to].[be].approximately(real[]
) - expect(
int
).[to].[be].approximately(real
) - expect(
uint[]
).[to].[be].approximately(void[]
) - expect(
uint[]
).[to].[be].approximately(byte[]
) - expect(
uint
).[to].[be].approximately(byte
) - expect(
uint[]
).[to].[be].approximately(ubyte[]
) - expect(
uint
).[to].[be].approximately(ubyte
) - expect(
uint[]
).[to].[be].approximately(short[]
) - expect(
uint
).[to].[be].approximately(short
) - expect(
uint[]
).[to].[be].approximately(ushort[]
) - expect(
uint
).[to].[be].approximately(ushort
) - expect(
uint[]
).[to].[be].approximately(int[]
) - expect(
uint
).[to].[be].approximately(int
) - expect(
uint[]
).[to].[be].approximately(uint[]
) - expect(
uint
).[to].[be].approximately(uint
) - expect(
uint[]
).[to].[be].approximately(long[]
) - expect(
uint
).[to].[be].approximately(long
) - expect(
uint[]
).[to].[be].approximately(ulong[]
) - expect(
uint
).[to].[be].approximately(ulong
) - expect(
uint[]
).[to].[be].approximately(float[]
) - expect(
uint
).[to].[be].approximately(float
) - expect(
uint[]
).[to].[be].approximately(double[]
) - expect(
uint
).[to].[be].approximately(double
) - expect(
uint[]
).[to].[be].approximately(real[]
) - expect(
uint
).[to].[be].approximately(real
) - expect(
long[]
).[to].[be].approximately(void[]
) - expect(
long[]
).[to].[be].approximately(byte[]
) - expect(
long
).[to].[be].approximately(byte
) - expect(
long[]
).[to].[be].approximately(ubyte[]
) - expect(
long
).[to].[be].approximately(ubyte
) - expect(
long[]
).[to].[be].approximately(short[]
) - expect(
long
).[to].[be].approximately(short
) - expect(
long[]
).[to].[be].approximately(ushort[]
) - expect(
long
).[to].[be].approximately(ushort
) - expect(
long[]
).[to].[be].approximately(int[]
) - expect(
long
).[to].[be].approximately(int
) - expect(
long[]
).[to].[be].approximately(uint[]
) - expect(
long
).[to].[be].approximately(uint
) - expect(
long[]
).[to].[be].approximately(long[]
) - expect(
long
).[to].[be].approximately(long
) - expect(
long[]
).[to].[be].approximately(ulong[]
) - expect(
long
).[to].[be].approximately(ulong
) - expect(
long[]
).[to].[be].approximately(float[]
) - expect(
long
).[to].[be].approximately(float
) - expect(
long[]
).[to].[be].approximately(double[]
) - expect(
long
).[to].[be].approximately(double
) - expect(
long[]
).[to].[be].approximately(real[]
) - expect(
long
).[to].[be].approximately(real
) - expect(
ulong[]
).[to].[be].approximately(void[]
) - expect(
ulong[]
).[to].[be].approximately(byte[]
) - expect(
ulong
).[to].[be].approximately(byte
) - expect(
ulong[]
).[to].[be].approximately(ubyte[]
) - expect(
ulong
).[to].[be].approximately(ubyte
) - expect(
ulong[]
).[to].[be].approximately(short[]
) - expect(
ulong
).[to].[be].approximately(short
) - expect(
ulong[]
).[to].[be].approximately(ushort[]
) - expect(
ulong
).[to].[be].approximately(ushort
) - expect(
ulong[]
).[to].[be].approximately(int[]
) - expect(
ulong
).[to].[be].approximately(int
) - expect(
ulong[]
).[to].[be].approximately(uint[]
) - expect(
ulong
).[to].[be].approximately(uint
) - expect(
ulong[]
).[to].[be].approximately(long[]
) - expect(
ulong
).[to].[be].approximately(long
) - expect(
ulong[]
).[to].[be].approximately(ulong[]
) - expect(
ulong
).[to].[be].approximately(ulong
) - expect(
ulong[]
).[to].[be].approximately(float[]
) - expect(
ulong
).[to].[be].approximately(float
) - expect(
ulong[]
).[to].[be].approximately(double[]
) - expect(
ulong
).[to].[be].approximately(double
) - expect(
ulong[]
).[to].[be].approximately(real[]
) - expect(
ulong
).[to].[be].approximately(real
) - expect(
float[]
).[to].[be].approximately(void[]
) - expect(
float[]
).[to].[be].approximately(byte[]
) - expect(
float
).[to].[be].approximately(byte
) - expect(
float[]
).[to].[be].approximately(ubyte[]
) - expect(
float
).[to].[be].approximately(ubyte
) - expect(
float[]
).[to].[be].approximately(short[]
) - expect(
float
).[to].[be].approximately(short
) - expect(
float[]
).[to].[be].approximately(ushort[]
) - expect(
float
).[to].[be].approximately(ushort
) - expect(
float[]
).[to].[be].approximately(int[]
) - expect(
float
).[to].[be].approximately(int
) - expect(
float[]
).[to].[be].approximately(uint[]
) - expect(
float
).[to].[be].approximately(uint
) - expect(
float[]
).[to].[be].approximately(long[]
) - expect(
float
).[to].[be].approximately(long
) - expect(
float[]
).[to].[be].approximately(ulong[]
) - expect(
float
).[to].[be].approximately(ulong
) - expect(
float[]
).[to].[be].approximately(float[]
) - expect(
float
).[to].[be].approximately(float
) - expect(
float[]
).[to].[be].approximately(double[]
) - expect(
float
).[to].[be].approximately(double
) - expect(
float[]
).[to].[be].approximately(real[]
) - expect(
float
).[to].[be].approximately(real
) - expect(
double[]
).[to].[be].approximately(void[]
) - expect(
double[]
).[to].[be].approximately(byte[]
) - expect(
double
).[to].[be].approximately(byte
) - expect(
double[]
).[to].[be].approximately(ubyte[]
) - expect(
double
).[to].[be].approximately(ubyte
) - expect(
double[]
).[to].[be].approximately(short[]
) - expect(
double
).[to].[be].approximately(short
) - expect(
double[]
).[to].[be].approximately(ushort[]
) - expect(
double
).[to].[be].approximately(ushort
) - expect(
double[]
).[to].[be].approximately(int[]
) - expect(
double
).[to].[be].approximately(int
) - expect(
double[]
).[to].[be].approximately(uint[]
) - expect(
double
).[to].[be].approximately(uint
) - expect(
double[]
).[to].[be].approximately(long[]
) - expect(
double
).[to].[be].approximately(long
) - expect(
double[]
).[to].[be].approximately(ulong[]
) - expect(
double
).[to].[be].approximately(ulong
) - expect(
double[]
).[to].[be].approximately(float[]
) - expect(
double
).[to].[be].approximately(float
) - expect(
double[]
).[to].[be].approximately(double[]
) - expect(
double
).[to].[be].approximately(double
) - expect(
double[]
).[to].[be].approximately(real[]
) - expect(
double
).[to].[be].approximately(real
) - expect(
real[]
).[to].[be].approximately(void[]
) - expect(
real[]
).[to].[be].approximately(byte[]
) - expect(
real
).[to].[be].approximately(byte
) - expect(
real[]
).[to].[be].approximately(ubyte[]
) - expect(
real
).[to].[be].approximately(ubyte
) - expect(
real[]
).[to].[be].approximately(short[]
) - expect(
real
).[to].[be].approximately(short
) - expect(
real[]
).[to].[be].approximately(ushort[]
) - expect(
real
).[to].[be].approximately(ushort
) - expect(
real[]
).[to].[be].approximately(int[]
) - expect(
real
).[to].[be].approximately(int
) - expect(
real[]
).[to].[be].approximately(uint[]
) - expect(
real
).[to].[be].approximately(uint
) - expect(
real[]
).[to].[be].approximately(long[]
) - expect(
real
).[to].[be].approximately(long
) - expect(
real[]
).[to].[be].approximately(ulong[]
) - expect(
real
).[to].[be].approximately(ulong
) - expect(
real[]
).[to].[be].approximately(float[]
) - expect(
real
).[to].[be].approximately(float
) - expect(
real[]
).[to].[be].approximately(double[]
) - expect(
real
).[to].[be].approximately(double
) - expect(
real[]
).[to].[be].approximately(real[]
) - expect(
real
).[to].[be].approximately(real
)