changeset 9:1ba61db2c7fc

Re #24: Add limit objects * Update tests for "unlimited" to return the largest integer possible (int.MaxValue), since its limit as a double is infinity
author IBBoard <dev@ibboard.co.uk>
date Fri, 23 Oct 2009 19:05:43 +0000
parents 43e282ec574c
children 5507654d189d
files Limits/UnlimitedLimitTest.cs
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Limits/UnlimitedLimitTest.cs	Thu Oct 22 19:10:02 2009 +0000
+++ b/Limits/UnlimitedLimitTest.cs	Fri Oct 23 19:05:43 2009 +0000
@@ -17,17 +17,17 @@
 		
 		public override double GetSize100ExpectedValue ()
 		{
-			return 100;
+			return int.MaxValue;
 		}
 		
 		public override double GetSize10ExpectedValue ()
 		{
-			return 10;
+			return int.MaxValue;
 		}
 		
 		public override double GetSize1ExpectedValue ()
 		{
-			return 1;
+			return int.MaxValue;
 		}
 		
 		public override AbstractLimit GetEqualLimitObject ()