Пример #1
0
        public void FailWhenTypesAreNotTheSame()
        {
            AssertAll.IsNotInstanceOfType(1, typeof(int));

            Assert.ThrowsException <AssertAllFailedException>(() => AssertAll.Execute());
        }
Пример #2
0
 public void PassWhenTypesAreTheSame()
 {
     AssertAll.IsNotInstanceOfType("1", typeof(int));
     AssertAll.Execute();
 }