17 lines
370 B
Go
17 lines
370 B
Go
package game_test
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/iliadenisov/galaxy/internal/controller"
|
|
"github.com/iliadenisov/galaxy/internal/game"
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestJoinEqualGroups(t *testing.T) {
|
|
c(t, func(p func(*controller.Param), g func() *controller.Controller) {
|
|
err := game.JoinEqualGroups(p, "race_01")
|
|
assert.NoError(t, err)
|
|
})
|
|
}
|