public static void ASSERT_NOT_NULL(object o, string text) { if (o == null) { throw AssertionViolationException.Create(text); } }
public static void ASSERT(bool res, string text) { if (res == false) { throw AssertionViolationException.Create(text); } }
public static void ASSERT(bool res, string text, params object[] args) { if (res == false) { throw AssertionViolationException.Create(text, args); } }
public static void ASSERT(bool res, string text, object arg1, object arg2, object arg3) { if (res == false) { throw AssertionViolationException.Create(text, arg1, arg2, arg3); } }