test suite test option matcher
matcher[character, string] make matcher(function[boolean, character] the predicate)
return procedure matcher[character, string] • new(repeat element[character] • new(the predicate, false), as string)
test case test match parse()
the matcher • validate()
assert the matcher("a")
assert the matcher("Bbb")
assert the matcher("Cccc")
assert !the matcher("abc")
assert !the matcher("aabb")
assert !the matcher("aaca")
assert the matcher • parse("aaa") == "*aaa"
assert the matcher • parse("Bbb") == "*Bbb"
assert the matcher • parse("CCCccc") == "*CCCccc"