From 8702a4095f0d86949b69d379f587f4037d6516fd Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 23 Jan 2021 13:44:24 -0500 Subject: Add working tests. Fix issue with min/max. --- print.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print.go') diff --git a/print.go b/print.go index 8bdeea3..fea1d7d 100644 --- a/print.go +++ b/print.go @@ -14,7 +14,7 @@ func (s *Stats) PrettyStats() string { Standard Deviation: %.2f Skewness: %.2f Kurtosis: %.2f -`, s.Min, s.Max, s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis()) +`, s.Min(), s.Max(), s.Mean(), s.Variance(), s.StandardDeviation(), s.Skewness(), s.Kurtosis()) } // Returns a string containing all of the data within the struct -- cgit v1.2.3