package behaviors

import (
	"testing"

	"github.com/workfit/tester/assert"
)

func TestRoundRobin(t *testing.T) {
	var b interface{}
	b = &RoundRobin{}
	_, ok := b.(Interface)
	assert.For(t).ThatActual(ok).IsTrue()
}

func TestCurrentPlayer(t *testing.T) {
	var b interface{}
	b = &CurrentPlayer{}
	_, ok := b.(Interface)
	assert.For(t).ThatActual(ok).IsTrue()
}

package behaviors

import (
	"testing"

	"github.com/jkomoros/boardgame/moves/interfaces"

	"github.com/workfit/tester/assert"
)

func TestRoundRobin(t *testing.T) {
	var b interface{}
	b = &RoundRobin{}
	_, ok := b.(Interface)
	assert.For(t).ThatActual(ok).IsTrue()
	_, ok = b.(interfaces.RoundRobinProperties)
	assert.For(t).ThatActual(ok).IsTrue()
}

func TestCurrentPlayer(t *testing.T) {
	var b interface{}
	b = &CurrentPlayer{}
	_, ok := b.(Interface)
	assert.For(t).ThatActual(ok).IsTrue()
	_, ok = b.(interfaces.CurrentPlayerSetter)
	assert.For(t).ThatActual(ok).IsTrue()
}

Add tests that verify that behaviors.RoundRobin and CurrentPlayer implement the moves/interfaces they intend to implement, which will help detect drift if those interfaces change.
Add tests that verify that behaviors.RoundRobin and CurrentPlayer implement the moves/interfaces they intend to implement, which will help detect drift if those interfaces change.

Part of #741.
