public void CheckSummer_CheckSum_ReturnsCorrectly_ForEvenDivideStrategy() { var checkSummer = new CheckSummer(new EvenDivideCheckSumStrategy()); var checkSum = checkSummer.CheckSum("day2testinput2.txt"); Assert.Equal(9, checkSum); }
public void CheckSummer_CheckSum_ReturnsCorrectly_ForMinMaxStrategy() { var checkSummer = new CheckSummer(new MinMaxDiffCheckSumStrategy()); var checkSum = checkSummer.CheckSum("day2testinput.txt"); Assert.Equal(18, checkSum); }