public void Ex2Meth3_2() { var x = new Exercise2(); bool alive = x.Method3(7); Assert.AreEqual(alive, false); }
public void Ex2Meth3_1() { var x = new Exercise2(); bool alive = x.Method3(4); Assert.AreEqual(alive, true); }
public void Excercise2Method3_4_true() { Exercise2 e2 = new Exercise2(); Assert.True(e2.Method3(4)); }
public void Excercise2Method3_3_false() { Exercise2 e2 = new Exercise2(); Assert.False(e2.Method3(3)); }
public void Method3TestIfEven() { int neighbour = 4; Assert.IsTrue(ex2.Method3(neighbour)); }
public void Ex2Test3() { Exercise2 ex2 = new Exercise2(); Assert.AreEqual(ex2.Method3(1), false); }
public void Ex2Test2() { Exercise2 ex2 = new Exercise2(); Assert.AreEqual(ex2.Method3(2), true); }