Skip to content

Commit

Permalink
attempt to fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
PFalkowski committed Jan 30, 2025
1 parent 810c610 commit 90c266e
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions OnTheFlyStats.Test/StatsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -364,20 +364,22 @@ public void PrettyPrintPrintsPretty()

// Act
var prettyPrinted = tested.PrettyPrint();
var expected = @"
************************************************************
* Descriptive statistics calculation result
*-----------------------------------------------------------
Mean 3
Min 1
Max 5
Sum 15
Count 5
Standard deviation 1,4142135623730951
Variance 2
Standard error 0,7071067811865476
************************************************************
";
const string expected = """
************************************************************
* Descriptive statistics calculation result
*-----------------------------------------------------------
Mean 3
Min 1
Max 5
Sum 15
Count 5
Standard deviation 1,4142135623730951
Variance 2
Standard error 0,7071067811865476
************************************************************
""";

// Assert
Assert.Equal(expected, prettyPrinted);
Expand Down

0 comments on commit 90c266e

Please sign in to comment.