 	}
 
 	func testAllOfParsesAllMatches() {
-		let xyz = allOf(["x", "y", "z"])
-		assertTree(xyz, "xyyxz", ==, ["x", "y", "y", "x", "z"])
+		assertTree(all, "xyyxz", ==, ["x", "y", "y", "x", "z"])
 	}
 
 }

	}

	func testAnyOfOnlyParsesFirstMatch() {
		let xyz = anyOf(["x", "y", "z"])
		assertTree(xyz, "xyy", ==, ["x", "y"])
	}


	// MARK: All-of

	func testAllOfParsesAnArrayOfMatchesPreservingOrder() {
		let xyz = allOf(["x", "y", "z"])
		assertTree(xyz, "xy", ==, ["x", "y"])
		assertTree(xyz, "yx", ==, ["y", "x"])
		assertTree(xyz, "zxy", ==, ["z", "x", "y"])
	}

	func testAllOfRejectsWhenNoneMatch() {

let suffixed = optional ++ %"z" --> { $0 + $1 }
let sandwiched = prefixed ++ %"z" --> { $0 + $1 }

private let one = oneOf(["x", "y", "z"])
private let any = anyOf(["x", "y", "z"])
private let all = allOf(["x", "y", "z"])


// MARK: - Imports

