MetricEventSource tests workaround .NET Framework double rounding (#86286)
authorNoah Falk <noahfalk@users.noreply.github.com>
Tue, 16 May 2023 03:21:15 +0000 (20:21 -0700)
committerGitHub <noreply@github.com>
Tue, 16 May 2023 03:21:15 +0000 (20:21 -0700)
commit115a47519fb0e5f14ec67ba566dd22ba7b8e8c63
tree1e0a8486274051a1985ba2db54fffe7348707b28
parent2c6c003e8af1ccc0692813e35f3f39949facd138
MetricEventSource tests workaround .NET Framework double rounding (#86286)

Fixes #85290
Desktop .NET Framework on x86 improperly rounds double values in some circumstances. I switched the test to use a lower precision double value so that it is not impacted by the extra rounding.
src/libraries/System.Diagnostics.DiagnosticSource/tests/MetricEventSourceTests.cs