(t *testing.T)
| 65 | } |
| 66 | |
| 67 | func TestBalance_AddDebit(t *testing.T) { |
| 68 | balance := &Balance{ |
| 69 | DebitBalance: big.NewInt(0), |
| 70 | } |
| 71 | amount := Int64ToBigInt(300) |
| 72 | balance.addDebit(amount, false) |
| 73 | expected := big.NewInt(300) |
| 74 | assert.Equal(t, expected, balance.DebitBalance) |
| 75 | } |
| 76 | |
| 77 | func TestBalance_ComputeBalance(t *testing.T) { |
| 78 | balance := &Balance{ |
nothing calls this directly
no test coverage detected