Avoid comparing doubles in nested_in_template.i unit test

This should also have been part of
30bb977a64

See #1358.
This commit is contained in:
Vadim Zeitlin 2018-11-26 14:47:20 +01:00
commit 5e7426dcc6
3 changed files with 6 additions and 6 deletions

View file

@ -3,8 +3,8 @@ using nested_in_templateNamespace;
public class runme {
static void Main() {
var cd = new OuterTemplate1.ConcreteDerived(8.8);
if (cd.m_value != 8.8)
var cd = new OuterTemplate1.ConcreteDerived(88);
if (cd.m_value != 88)
throw new Exception("ConcreteDerived not created correctly");
}
}