瀏覽代碼

feat:测试方法

wangchuanjin 1 年之前
父節點
當前提交
0758a98d02
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      public/service/power_test.go

+ 2 - 2
public/service/power_test.go

@@ -52,8 +52,8 @@ func TestCrReEmpower(t *testing.T) {
 	//assert.Equal(t, int64(1), v)
 }
 
-func TestEmpower(t *testing.T) {
-	v, err := Empower("10000", []string{"bi_dx_ghxs", "bi_dx_zxdx", "bi_dx_rcgl", "bi_dx_wjsgjkh", "bi_dx_shxs", "bi_dx_xszl"}, 1, []int64{3870, 123, 456})
+func TestAddEmpower(t *testing.T) {
+	v, err := Empower("10000", []string{"bi_dx_ghxs", "bi_dx_zxdx", "bi_dx_rcgl", "bi_dx_wjsgjkh", "bi_dx_shxs", "bi_dx_xszl"}, 1, []int64{3870, 123, 456, 6763})
 	assert.Nil(t, err)
 	assert.Equal(t, int64(1), v)
 }