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:
John Oram 2021-07-02 20:00:19 -07:00 committed by GitHub
parent d750b08317
commit f31bdff4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 86 additions and 29 deletions

View file

@ -10,6 +10,11 @@ func TestSoloRulesetInterface(t *testing.T) {
var _ Ruleset = (*SoloRuleset)(nil)
}
func TestSoloName(t *testing.T) {
r := SoloRuleset{}
require.Equal(t, "solo", r.Name())
}
func TestSoloCreateNextBoardStateSanity(t *testing.T) {
boardState := &BoardState{}
r := SoloRuleset{}