public void ProgramShouldConvertCommaSeparatedStringToIntArray() { string numberString = "1,0,0,3,1,1,2,3,1,3,4,3,1,5"; Assert.AreEqual(intCode.GetIntArray(numberString), new int[] { 1, 0, 0, 3, 1, 1, 2, 3, 1, 3, 4, 3, 1, 5 }); }
public void ProgramShouldConvertCommaSeparatedStringToIntArray() { string numberString = "1,0,0,3,1,1,2,3,1,3,4,3,1,5"; Assert.AreEqual(intCode.GetIntArray(numberString), new int[] { 1, 0, 0, 3, 1, 1, 2, 3, 1, 3, 4, 3, 1, 5 }); }