コード例 #1
0
 public void WhenIReadTheFileAndCalculateTheStandardDeviation_ReturnsStandardDeviation()
 {
     _calculationsService.StandardDeviation(_numbers).Should().Be(28.799326861806445300971660547m);
 }
コード例 #2
0
 public void StandardDeviation_WhenEmptyList_ReturnsZero()
 {
     _calculationsService.StandardDeviation(new List <decimal>()).Should().Be(0m);
 }