public void Figh5() { int f = 0, s = 4; YourTasksHere.Fight(ref f, 2, ref s, 5); Assert.AreEqual(0, f); Assert.AreEqual(4, s); }
public void Figh3() { int f = 10, s = 100; YourTasksHere.Fight(ref f, 5, ref s, 1); Assert.AreEqual(0, f); Assert.AreEqual(50, s); }
public void Figh4() { int f = 3, s = 4; YourTasksHere.Fight(ref f, 2, ref s, 5); Assert.AreEqual(-2, f); Assert.AreEqual(2, s); }
public void Fight1() { int f = 100, s = 100; YourTasksHere.Fight(ref f, 10, ref s, 10); Assert.AreEqual(0, f); Assert.AreEqual(0, s); }