public static void GreaterThan(string o, int v1, int v2) { if (v1 <= v2) { Fdb.AssertionFail(GreaterThanErr, o, v1, v2); } Fdb.AssertionPass(GreaterThanLog, o, v1, v2); }
public static void GreaterThanOrEqualTo(float v1, float v2) { if (v1 < v2) { Fdb.AssertionFail(GreaterThanOrEqualToErr, q, v1, v2); } Fdb.AssertionPass(GreaterThanOrEqualToLog, q, v1, v2); }
public static void NotNullOrEmpty(string s) { if (string.IsNullOrEmpty(s)) { Fdb.AssertionFail(NotNullOrEmptyErr, q, s); } Fdb.AssertionPass(NotNullOrEmptyLog, q, s); }
public static void Equal(string o, float v1, float v2) { if (v1 != v2) { Fdb.AssertionFail(EqualErr, o, v1, v2); } Fdb.AssertionPass(EqualLog, o, v1, v2); }
public static void TypeEqual(int t1, int t2) { if (t1 != t2) { Fdb.AssertionFail(TypeCheckErr, q, Fdb.GetName(t1), t1, Fdb.GetName(t2)); } Fdb.AssertionPass(TypeCheckLog, q, Fdb.GetName(t1), t1, Fdb.GetName(t2)); }
public static void NotNull(void *p) { if (p == null) { Fdb.AssertionFail(NotNullErr, q, (long)p); } Fdb.AssertionPass(NotNullLog, q, (long)p); }
public static void True(bool v) { if (!v) { Fdb.AssertionFail(TrueErr, q, v); } Fdb.AssertionPass(TrueLog, q, v); }
public static void Zero(int v) { if (v != 0) { Fdb.AssertionFail(EqualErr, q, v, zero); } Fdb.AssertionPass(EqualLog, q, v, zero); }
public static void Null(string o, void *p) { if (p != null) { Fdb.AssertionFail(NullErr, o, (long)p); } Fdb.AssertionPass(NullLog, o, (long)p); }
public static void NotNull(string o, object p) { if (p == null) { Fdb.AssertionFail(NotNullErr, o, p); } Fdb.AssertionPass(NotNullLog, o, p); }
public static void Zero(string o, int v) { if (v != 0) { Fdb.AssertionFail(EqualErr, o, v, zero); } Fdb.AssertionPass(EqualLog, o, v, zero); }
public static void InRange(string o, int v, int v1, int v2) { if (v < v1 || v > v2) { Fdb.AssertionFail(InRangeErr, o, v, v1, v2); } Fdb.AssertionPass(InRangeLog, o, v, v1, v2); }
public static void GreaterThanOrEqualTo(string o, int v1, int v2) { if (v1 < v2) { Fdb.AssertionFail(GreaterThanOrEqualToErr, o, v1, v2); } Fdb.AssertionPass(GreaterThanOrEqualToLog, o, v1, v2); }
public static void InRange(long v, long v1, long v2) { if (v < v1 || v > v2) { Fdb.AssertionFail(InRangeErr, q, v, v1, v2); } Fdb.AssertionPass(InRangeLog, q, v, v1, v2); }
public static void False(bool v) { if (v) { Fdb.AssertionFail(FalseErr, q, v); } Fdb.AssertionPass(FalseLog, q, v); }
public static void InRange(void *v, void *v1, void *v2) { if (v < v1 || v > v2) { Fdb.AssertionFail(InRangeErr, q, (long)v, (long)v1, (long)v2); } Fdb.AssertionPass(InRangeLog, q, (long)v, (long)v1, (long)v2); }
public static void Equal(long v1, long v2) { if (v1 != v2) { Fdb.AssertionFail(EqualErr, q, v1, v2); } Fdb.AssertionPass(EqualLog, q, v1, v2); }
public static void GreaterThanZero(int v) { if (v <= 0) { Fdb.AssertionFail(GreaterThanErr, q, v, zero); } Fdb.AssertionPass(GreaterThanLog, q, v, zero); }
public static void LessThan(int v1, int v2) { if (v1 >= v2) { Fdb.AssertionFail(LessThanErr, q, v1, v2); } Fdb.AssertionPass(LessThanLog, q, v1, v2); }
public static void False(string o, bool v) { if (v) { Fdb.AssertionFail(FalseErr, o, v); } Fdb.AssertionPass(FalseLog, o, v); }
public static void LessThanOrEqualTo(float v1, float v2) { if (v1 > v2) { Fdb.AssertionFail(LessThanOrEqualToErr, q, v1, v2); } Fdb.AssertionPass(LessThanOrEqualToLog, q, v1, v2); }
public static void NotNull(object p) { if (p == null) { Fdb.AssertionFail(NotNullErr, q, p); } Fdb.AssertionPass(NotNullLog, q, p); }
public static void True(string o, bool v) { if (!v) { Fdb.AssertionFail(TrueErr, o, v); } Fdb.AssertionPass(TrueLog, o, v); }
public static void Equal(string o, void *v1, void *v2) { if (v1 != v2) { Fdb.AssertionFail(EqualErr, o, (long)v1, (long)v2); } Fdb.AssertionPass(EqualLog, o, (long)v1, (long)v2); }
public static void GreaterThan(float v1, float v2) { if (v1 <= v2) { Fdb.AssertionFail(GreaterThanErr, q, v1, v2); } Fdb.AssertionPass(GreaterThanLog, q, v1, v2); }
public static void LessThan(string o, float v1, float v2) { if (v1 >= v2) { Fdb.AssertionFail(LessThanErr, o, v1, v2); } Fdb.AssertionPass(LessThanLog, o, v1, v2); }
public static void LessThanOrEqualTo(string o, int v1, int v2) { if (v1 > v2) { Fdb.AssertionFail(LessThanOrEqualToErr, o, v1, v2); } Fdb.AssertionPass(LessThanOrEqualToLog, o, v1, v2); }