charge_ratio_test.go 439 B

12345678910111213141516171819202122
  1. package income
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_AvChargeRatio(t *testing.T) {
  8. Convey("AvChargeRatio", t, func() {
  9. _, _, err := d.ArchiveChargeRatio(context.Background(), 0, 2000)
  10. So(err, ShouldBeNil)
  11. })
  12. }
  13. func Test_UpChargeRatio(t *testing.T) {
  14. Convey("UpChargeRatio", t, func() {
  15. _, _, err := d.UpChargeRatio(context.Background(), 0, 2000)
  16. So(err, ShouldBeNil)
  17. })
  18. }