Research portable Memory game | Исследовать портируемую игру Память
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- from shell import *
- from shell_Context import *
-
- def shell_test_exit_e(
- ) -> str:
- c = shell_createContext()
- c.input = "e"
- c = shell_processInput(c)
- if (
- c.recentField == "exit"
- ):
- return "OK: shell_exit_e"
- #}
- return "ERR: shell_exit_e"
- #}
-
- def shell_test_exit_exit(
- ) -> str:
- c = shell_createContext()
- c.input = "exit"
- c = shell_processInput(c)
- if (
- c.recentField == "exit"
- ):
- return "OK: shell_exit_exit"
- #}
- return "ERR: shell_exit_exit"
- #}
-
- def shell_test_exit_q(
- ) -> str:
- c = shell_createContext()
- c.input = "q"
- c = shell_processInput(c)
- if (
- c.recentField == "exit"
- ):
- return "OK: shell_exit_q"
- #}
- return "ERR: shell_exit_q"
- #}
-
- def shell_test_exit_quit(
- ) -> str:
- c = shell_createContext()
- c.input = "quit"
- c = shell_processInput(c)
- if (
- c.recentField == "exit"
- ):
- return "OK: shell_exit_quit"
- #}
- return "ERR: shell_exit_quit"
- #}
|