summaryrefslogtreecommitdiff
path: root/Source/UnitTests/CoreTests/ExprImmutability.cs
diff options
context:
space:
mode:
authorGravatar Dietrich <dgeisler50@gmail.com>2015-04-17 12:29:04 -0600
committerGravatar Dietrich <dgeisler50@gmail.com>2015-04-17 12:29:04 -0600
commit02326abeca88715427d09f8995ee5ccfd9dab397 (patch)
tree4cc522fbd5732927f45863bf7b22d518a9807268 /Source/UnitTests/CoreTests/ExprImmutability.cs
parentea068f2bddb4be2eb4827f75418f46f52fd3a1f9 (diff)
adding references to the floating point type wherever references to the real type exist. This remains a work in progress
Diffstat (limited to 'Source/UnitTests/CoreTests/ExprImmutability.cs')
-rw-r--r--Source/UnitTests/CoreTests/ExprImmutability.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/UnitTests/CoreTests/ExprImmutability.cs b/Source/UnitTests/CoreTests/ExprImmutability.cs
index b83983b6..7f266074 100644
--- a/Source/UnitTests/CoreTests/ExprImmutability.cs
+++ b/Source/UnitTests/CoreTests/ExprImmutability.cs
@@ -29,6 +29,9 @@ namespace CoreTests
var literal4 = new LiteralExpr(Token.NoToken, Microsoft.Basetypes.BigNum.FromInt(0), 8, /*immutable=*/true);
Assert.AreEqual(literal4.ComputeHashCode(), literal4.GetHashCode());
+
+ var literal5 = new LiteralExpr(Token.NoToken, Microsoft.Basetypes.FP32.FromInt(0), /*immutable=*/true);
+ Assert.AreEqual(literal5.ComputeHashCode(), literal5.GetHashCode());
}
[Test()]