package main import ( "biukop.com/sfm/loan" log "github.com/sirupsen/logrus" "github.com/stretchr/testify/assert" "testing" ) func TestDecodePayInMain(t *testing.T) { ai := AiDecodeIncome{} ul := loan.Uploads{} ul.Read(2) e := ai.decodeUploadToPayIn(ul, false) assert.Equal(t, e, nil, "should be no error") log.Println(ai) }