You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 satır
337B

  1. package main
  2. import (
  3. "biukop.com/sfm/loan"
  4. log "github.com/sirupsen/logrus"
  5. "github.com/stretchr/testify/assert"
  6. "testing"
  7. )
  8. func TestDecodePayInMain(t *testing.T) {
  9. ai := AiDecodeIncome{}
  10. ul := loan.Uploads{}
  11. ul.Read(2)
  12. e := ai.decodeUploadToPayIn(ul, false)
  13. assert.Equal(t, e, nil, "should be no error")
  14. log.Println(ai)
  15. }