package game_test import ( "testing" "github.com/iliadenisov/galaxy/internal/model/game" "github.com/stretchr/testify/assert" ) func TestPlanetProduction(t *testing.T) { assert.Equal(t, 1000., game.PlanetProduction(1000., 1000.)) assert.Equal(t, 625., game.PlanetProduction(500., 1000.)) assert.Equal(t, 750., game.PlanetProduction(1000., 0.)) assert.Equal(t, 250., game.PlanetProduction(0., 1000.)) }