public void DoSomethingBanale_Works()
            {
                var nested = new OnlyTestedByNestedTestClass();

                Assert.AreEqual(0, nested.DoSomethingBanale(0));
                Assert.AreEqual(-2, nested.DoSomethingBanale(-1));
                Assert.AreEqual(2, nested.DoSomethingBanale(1));
                Assert.AreEqual(14, nested.DoSomethingBanale(7));
            }
Exemplo n.º 2
0
            public void DoSomethingBanale_Works()
	        {
	            var nested = new OnlyTestedByNestedTestClass();
                Assert.AreEqual(0, nested.DoSomethingBanale(0));
                Assert.AreEqual(-2, nested.DoSomethingBanale(-1));
                Assert.AreEqual(2, nested.DoSomethingBanale(1));
                Assert.AreEqual(14, nested.DoSomethingBanale(7));
            }