RegressionTests__CollectionTests.st
changeset 640 331d32a33bcf
parent 639 a02e4406e10d
child 644 c8240e7bfb37
--- a/RegressionTests__CollectionTests.st	Fri Oct 07 13:14:35 2011 +0200
+++ b/RegressionTests__CollectionTests.st	Fri Oct 07 13:16:44 2011 +0200
@@ -41,12 +41,6 @@
     "Created: / 8.11.2001 / 08:17:09 / cg"
 ! !
 
-!CollectionTests class methodsFor:'others'!
-
-version_CVS
-    ^ '$Header$'
-! !
-
 !CollectionTests methodsFor:'helpers'!
 
 collectedDoArgsOf:aCollection
@@ -712,7 +706,21 @@
         asDoubleArray
         asSignedIntegerArray
     ) do:[:converter |
+        |empty|
+
+        empty := #() perform:converter.
+        self should:[ empty min ] raise:Error.
+        self should:[ empty max ] raise:Error.
+        self should:[ empty minMax ] raise:Error.
+
         #(
+            (0 0)
+            (1 1)
+            (-1 -1)
+            (0 1)
+            (1 2)
+            (-1 -0)
+            (-1 1)
             (1 10000)
             (1 10001)
             (2 10000)
@@ -896,4 +904,8 @@
 
 version
     ^ '$Header$'
+!
+
+version_CVS
+    ^ '$Header$'
 ! !