group_power_test.go 417 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12
package test

import (
	"git.hilo.cn/hilo-common/domain"
	"hilo-group/domain/model/groupPower_m"
	"testing"
)

func TestGetAllGroupPowerOwner(t *testing.T) {
	owners, err := groupPower_m.GetAllGroupPowerOwners(domain.CreateModelNil())
	println(owners, err)
}
hujiebin's avatar
hujiebin committed
13 14 15 16 17

func TestGetGroupPowerMonthStartTop1(t *testing.T) {
	res, err := groupPower_m.GetGroupPowerMonthStartTop1(domain.CreateModelNil(), 250)
	println(res,err)
}