Browse Source

feat:测试方法

wangchuanjin 1 year ago
parent
commit
0758a98d02
1 changed files with 2 additions and 2 deletions
  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)
 }