(t *testing.T)
| 396 | } |
| 397 | |
| 398 | func TestBalance_RollbackInflightCredit(t *testing.T) { |
| 399 | balance := &Balance{ |
| 400 | InflightCreditBalance: big.NewInt(400), |
| 401 | } |
| 402 | amount := big.NewInt(200) |
| 403 | balance.RollbackInflightCredit(amount) |
| 404 | assert.Equal(t, big.NewInt(200), balance.InflightCreditBalance) |
| 405 | } |
| 406 | |
| 407 | func TestBalance_RollbackInflightDebit(t *testing.T) { |
| 408 | balance := &Balance{ |
nothing calls this directly
no test coverage detected