@Test
	public void testParseAndResolveWildSubTree_Toy() throws Exception {
		toy();
		Collection<AssemblyParseResult> parses =
			asmToy.parseLine("add r0, `!Q2`").stream().filter(p -> !p.isError()).toList();

		Address addr0 = toy.getAddressFactory().getDefaultAddressSpace().getAddress(0);
		var allValidPatterns = new HashSet<AssemblyPatternBlock>();
		for (AssemblyParseResult p : parses) {
			System.err.println("parse: " + p);
			AssemblyResolutionResults results = asmToy.resolveTree(p, addr0);
			dumpResults(results);
			allValidPatterns.addAll(getInstructionPatterns(results));
		}
		assertEquals(makeInstructionPatterns(
			"C8:0X", // Unspecified immediate op
			// enumerated register ops
			"C0:00", "C0:01", "C0:02", "C0:03", "C0:04", "C0:05", "C0:06", "C0:07",
			"C0:08", "C0:09", "C0:0A", "C0:0B", "C0:0C", "C0:0D", "C0:0E", "C0:0F"),
			allValidPatterns);
	}
Return all possible instruction encodings as hex strings from the given {@code results}

@param results the results to encode and collect
@return the list
Ghidra/Features/WildcardAssembler/src/test/java/ghidra/asm/wild/WildSleighAssemblerTest.java