renamed test case
authorStefan Behnel <scoder@users.berlios.de>
Tue, 25 May 2010 08:11:01 +0000 (10:11 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 25 May 2010 08:11:01 +0000 (10:11 +0200)
tests/run/all.pyx
tests/run/any.pyx

index 29b7561403027623549ed8605192e39c6f0111e3..54959f44f88215d0fe711599bd336bf8496f4821 100644 (file)
@@ -203,24 +203,24 @@ def all_in_typed_gen(seq):
 @cython.test_fail_if_path_exists("//SimpleCallNode",
                                  "//YieldExprNode",
                                  "//IfStatNode//CoerceToBooleanNode")
-def all_in_nested_gen(seq):
+def all_in_double_gen(seq):
     """
     >>> all(x for L in [[1,1,1],[1,1,1],[1,1,1]] for x in L)
     True
-    >>> all_in_nested_gen([[1,1,1],[1,1,1],[1,1,1]])
+    >>> all_in_double_gen([[1,1,1],[1,1,1],[1,1,1]])
     True
 
     >>> all(x for L in [[1,1,1],[1,1,1],[1,1,0]] for x in L)
     False
-    >>> all_in_nested_gen([[1,1,1],[1,1,1],[1,1,0]])
+    >>> all_in_double_gen([[1,1,1],[1,1,1],[1,1,0]])
     False
 
     >>> all(x for L in [[1,1,1],[0,1,1],[1,1,1]] for x in L)
     False
-    >>> all_in_nested_gen([[1,1,1],[0,1,1],[1,1,1]])
+    >>> all_in_double_gen([[1,1,1],[0,1,1],[1,1,1]])
     False
 
-    >>> all_in_nested_gen([VerboseGetItem([1,1,1]), VerboseGetItem([1,1,1,1,1])])
+    >>> all_in_double_gen([VerboseGetItem([1,1,1]), VerboseGetItem([1,1,1,1,1])])
     0
     1
     2
@@ -232,7 +232,7 @@ def all_in_nested_gen(seq):
     4
     5
     True
-    >>> all_in_nested_gen([VerboseGetItem([1,1,1]),VerboseGetItem([1,1]),VerboseGetItem([1,1,0])])
+    >>> all_in_double_gen([VerboseGetItem([1,1,1]),VerboseGetItem([1,1]),VerboseGetItem([1,1,0])])
     0
     1
     2
index 1621e66d7b2598c5c1cdb049c95177a8a0be2c54..9c8ce510782815c6701bfb30341c28935155a868 100644 (file)
@@ -194,19 +194,19 @@ def any_in_typed_gen(seq):
 @cython.test_fail_if_path_exists("//SimpleCallNode",
                                  "//YieldExprNode",
                                  "//IfStatNode//CoerceToBooleanNode")
-def any_in_nested_gen(seq):
+def any_in_double_gen(seq):
     """
     >>> any(x for L in [[0,0,0],[0,0,1],[0,0,0]] for x in L)
     True
-    >>> any_in_nested_gen([[0,0,0],[0,0,1],[0,0,0]])
+    >>> any_in_double_gen([[0,0,0],[0,0,1],[0,0,0]])
     True
 
     >>> any(x for L in [[0,0,0],[0,0,0],[0,0,0]] for x in L)
     False
-    >>> any_in_nested_gen([[0,0,0],[0,0,0],[0,0,0]])
+    >>> any_in_double_gen([[0,0,0],[0,0,0],[0,0,0]])
     False
 
-    >>> any_in_nested_gen([VerboseGetItem([0,0,0]), VerboseGetItem([0,0,1,0,0])])
+    >>> any_in_double_gen([VerboseGetItem([0,0,0]), VerboseGetItem([0,0,1,0,0])])
     0
     1
     2
@@ -215,7 +215,7 @@ def any_in_nested_gen(seq):
     1
     2
     True
-    >>> any_in_nested_gen([VerboseGetItem([0,0,0]),VerboseGetItem([0,0]),VerboseGetItem([0,0,0])])
+    >>> any_in_double_gen([VerboseGetItem([0,0,0]),VerboseGetItem([0,0]),VerboseGetItem([0,0,0])])
     0
     1
     2