I hereby claim:
- I am cjohnson318 on github.
- I am cjohnson318 (https://keybase.io/cjohnson318) on keybase.
- I have a public key ASBnwk2tQ3ncPZGFdmvQX7qpXlgGdB4SlnZbvtvzZ01bhAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
import kotlin.test.assertEquals | |
data class State(val state: String) | |
data class Event(val event: String) | |
data class CurrentStateEvent(val state: State, val event: Event) | |
class TransitionTable { | |
private var stateTable = mutableMapOf<CurrentStateEvent, State>() |
val pass: Unit = Unit | |
data class State(val state: String) | |
data class Event(val event: String) | |
data class StackSymbol(val symbol: String) | |
enum class StackActionType { | |
PUSH, |
enum class Direction { | |
NORTH, | |
SOUTH, | |
EAST, | |
WEST, | |
} | |
/** | |
* A "move" is a starting position and a direction in which to move. | |
*/ |