!759 !include #1002412 // Turing static void tests() { cmds(); } static L allcmds = litlist("load", "save", "run", "go", "quit"); static void cmds() { twice { L cmds = selectRandom(allcmds, 3); int pivot = rand(l(cmds)); S x = cmds.get(pivot); S input = x.substring(0, 1); add("If the available commands are " + quote(cmds.get(0)) + ", " + quote(cmds.get(1)) + " and " + quote(cmds.get(2)) + ", which command is " + quote(input) + " likely to mean?", x); } }