From 02326abeca88715427d09f8995ee5ccfd9dab397 Mon Sep 17 00:00:00 2001 From: Dietrich Date: Fri, 17 Apr 2015 12:29:04 -0600 Subject: adding references to the floating point type wherever references to the real type exist. This remains a work in progress --- Source/UnitTests/CoreTests/ExprImmutability.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Source/UnitTests/CoreTests/ExprImmutability.cs') 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()] -- cgit v1.2.3