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()
}

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()
}

--- 
+++ 
@@ -2,6 +2,8 @@
 
 import (
 	"testing"
+
+	"github.com/jkomoros/boardgame/moves/interfaces"
 
 	"github.com/workfit/tester/assert"
 )
@@ -11,6 +13,8 @@
 	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) {
@@ -18,4 +22,6 @@
 	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.

Part of #741.
