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:
parent
73ea48ba4a
commit
5e7426dcc6
3 changed files with 6 additions and 6 deletions
|
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue