public void PassWhenThereAreNoExceptionsOrInconclusives() { AssertAll.IsFalse(false); AssertAll.AreEqual(1, 1); AssertAll.IsInstanceOfType(1, typeof(int)); AssertAll.Execute(); }
public void FailWhenTypesAreNotTheSame() { AssertAll.IsInstanceOfType("1", typeof(int)); Assert.ThrowsException <AssertAllFailedException>(() => AssertAll.Execute()); }
public void PassWhenTypesAreTheSame() { AssertAll.IsInstanceOfType(1, typeof(int)); AssertAll.Execute(); }