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