コード例 #1
0
        public void ExcludeEqualityTests_prevents_any_equality_tests()
        {
            var sut = new AssemblyTester(Assembly.Load("NSimpleTester.Tests.EqualityErrors"));

            // verity the assembly has issues first so we know the test is valid.
            Assert.Throws <InvalidOperationException>(() => sut.TestAssembly());

            sut.ExcludeEqualityTests();

            sut.TestAssembly();
        }