Exemple #1
0
 public void CanGetAverageOfSeries()
 {
     Assert.That("13.1",
                 Is.EqualTo(
                     CalcStat.NumberStats(List(1, -1, 2, -2, 6, 9, 15, -2, 92, 11), CalcStat.CalcStatKeys.Average)));
 }
Exemple #2
0
 public void CanGetElementCount()
 {
     Assert.That("10",
                 Is.EqualTo(CalcStat.NumberStats(List(1, -1, 2, -2, 6, 9, 15, -2, 92, 11),
                                                 CalcStat.CalcStatKeys.ElementCount)));
 }
Exemple #3
0
 public void CanFindMinumValue()
 {
     Assert.That("-2",
                 Is.EqualTo(
                     CalcStat.NumberStats(List(1, -1, 2, -2, 6, 9, 15, -2, 92, 11), CalcStat.CalcStatKeys.Minimum)));
 }