Skip to content

Commit

Permalink
Improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpalme committed Aug 18, 2024
1 parent bbfa142 commit 0dc5e83
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ReportGenerator.Core.Test/Common/MathExtensionsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public void CalculatePercentage(int number1, int number2, int maximumDecimalPlac
MathExtensions.MaximumDecimalPlaces = maximumDecimalPlaces;
decimal result = MathExtensions.CalculatePercentage(number1, number2);
Assert.Equal(expected, result);

MathExtensions.MaximumDecimalPlaces = 1;
}
}
}

0 comments on commit 0dc5e83

Please sign in to comment.