deduction_test.go 466 B

12345678910111213141516171819
  1. package service
  2. import (
  3. "testing"
  4. "github.com/stretchr/testify/assert"
  5. )
  6. func TestDeduction(t *testing.T) {
  7. // 医疗标讯搜索 lyh_yl_ylbxss
  8. // 医疗机构搜索 lyh_yl_yljgss
  9. // 经销商搜索 lyh_yl_jxsss
  10. // 医疗机构画像 lyh_yl_yljghx
  11. // 医疗机构认领 lyh_yl_yljgrl
  12. // 经销商认领 lyh_yl_jxsrl
  13. status, err := Deduction("10000", "ai_helper", 13485, 0, 1, []string{"test"})
  14. assert.Nil(t, err)
  15. assert.Equal(t, int64(1), status)
  16. }