Hi guys,
In ActionMasterTest.cs, I changed the code as follows:
[Test]
public void T12Dondi10thFrameTurkey(){
int[] rolls = { 1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1, 1,1 };
pinFalls = rolls.ToList ();
pinFalls.Add (10);
Assert.AreEqual(reset,ActionMaster.NextAction (rolls.ToList()));
pinFalls.Add (10);
Assert.AreEqual(reset,ActionMaster.NextAction (rolls.ToList()));
pinFalls.Add (10);
Assert.AreEqual(endGame,ActionMaster.NextAction (rolls.ToList()));
}
But the test case is FAILING. I know Ben refracted it to just one Asset.AreEqual() call (and its working) but I just want to try it out like this.Can you please identify if I’m doing anything wrong.
Regards,
Faizan