Appease the unused test. TODO(mjibson): actually test all the ErrDecimal methods.
(t *testing.T)
| 19 | // Appease the unused test. |
| 20 | // TODO(mjibson): actually test all the ErrDecimal methods. |
| 21 | func TestErrDecimal(t *testing.T) { |
| 22 | ed := MakeErrDecimal(testCtx) |
| 23 | a := New(1, 0) |
| 24 | ed.Abs(a, a) |
| 25 | ed.Exp(a, a) |
| 26 | ed.Ln(a, a) |
| 27 | ed.Log10(a, a) |
| 28 | ed.Neg(a, a) |
| 29 | ed.Pow(a, a, a) |
| 30 | ed.QuoInteger(a, a, a) |
| 31 | ed.Rem(a, a, a) |
| 32 | ed.Round(a, a) |
| 33 | } |
| 34 | |
| 35 | // TestMakeErrDecimalWithPrecision tests that WithPrecision generates a copy |
| 36 | // and not a reference. |
nothing calls this directly
no test coverage detected
searching dependent graphs…