Skip to content

Commit

Permalink
nhibernateGH-3530: Fix incorrect test for Double types.
Browse files Browse the repository at this point in the history
  • Loading branch information
David Ellingsworth authored and David Ellingsworth committed May 15, 2024
1 parent 2c75302 commit f41e7fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NHibernate.Test/NHSpecificTest/GH3530/Fixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void TestDouble(CultureInfo from, CultureInfo to)
{
var entity = session.Get<LocaleEntity>(id);

Assert.True(doubleValue - entity.DoubleValue < double.Epsilon);
Assert.True(Math.Abs(doubleValue - entity.DoubleValue) < double.Epsilon);
}
}

Expand Down

0 comments on commit f41e7fc

Please sign in to comment.