public void Should_Sum_All_Numbers(string json, int expectedSum) { _analyzer .GetSumOfAllNumbers(json) .Should() .Be(expectedSum); }
public void Should_Calculate_Sum_For_NonRed_Numbers(string json, int expectedSum) { _analyzer .GetSumOfAllNumbers(json, "red") .Should() .Be(expectedSum); }