示例#1
0
 public void Should_Sum_All_Numbers(string json, int expectedSum)
 {
     _analyzer
     .GetSumOfAllNumbers(json)
     .Should()
     .Be(expectedSum);
 }
示例#2
0
 public void Should_Calculate_Sum_For_NonRed_Numbers(string json, int expectedSum)
 {
     _analyzer
     .GetSumOfAllNumbers(json, "red")
     .Should()
     .Be(expectedSum);
 }