add ruleset data to the calls made by the cli (name and version) (#32)
* add ruleset data to the cli (name and version) * remove double ruleset tracking with royale mode
This commit is contained in:
parent
d750b08317
commit
f31bdff4b8
11 changed files with 86 additions and 29 deletions
|
|
@ -34,6 +34,11 @@ func TestSanity(t *testing.T) {
|
|||
require.Len(t, state.Snakes, 0)
|
||||
}
|
||||
|
||||
func TestStandardName(t *testing.T) {
|
||||
r := StandardRuleset{}
|
||||
require.Equal(t, "standard", r.Name())
|
||||
}
|
||||
|
||||
func TestCreateInitialBoardState(t *testing.T) {
|
||||
tests := []struct {
|
||||
Height int32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue