public void TestAssertTriggered() { try { TurboException.Assert <ArgumentException>(false, "message"); Assert.Fail("Should throw exception"); } catch (Exception ex) { Assert.IsTrue(ex.GetType() == typeof(ArgumentException)); } }
public void TestAssertNotTriggered() { TurboException.Assert <ArgumentException>(true, "message"); }