Skip to content

Commit 8e29b9b

Browse files
committed
MathTests.cs: Ignore atan2 on Oracle due to NH-3381.
1 parent 947f8d1 commit 8e29b9b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/NHibernate.Test/Linq/MathTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using System;
22
using System.Linq;
33
using System.Linq.Expressions;
4+
using NHibernate.Dialect;
45
using NHibernate.DomainModel.Northwind.Entities;
56
using NUnit.Framework;
67

@@ -112,6 +113,9 @@ public void AtanTest()
112113
public void Atan2Test()
113114
{
114115
IgnoreIfNotSupported("atan2");
116+
if (Dialect is Oracle8iDialect)
117+
Assert.Ignore("Fails on Oracle due to NH-3381.");
118+
115119
Test(o => Math.Round(Math.Atan2((double)o.Discount, 0.5d), 5));
116120
}
117121

0 commit comments

Comments
 (0)