package test import ( "git.hilo.cn/hilo-common/domain" "hilo-user/domain/model/cp_m" "testing" ) func TestInitCpAnniversary(t *testing.T) { err := cp_m.InitCpAnniversary(domain.CreateModelNil(), cp_m.CpRelation{ Id: 1, UserId1: 7642, UserId2: 4549, }, "ar") println(err) } func TestCalcNextAnniversary(t *testing.T) { t2 := cp_m.CalcNextAnniversary(1686211996) println(t2) }