(t *testing.T, c *Context, s string)
| 46 | } |
| 47 | |
| 48 | func newDecimal(t *testing.T, c *Context, s string) *Decimal { |
| 49 | d, _, err := c.NewFromString(s) |
| 50 | testExponentError(t, err) |
| 51 | if err != nil { |
| 52 | t.Fatalf("%s: %+v", s, err) |
| 53 | } |
| 54 | return d |
| 55 | } |
| 56 | |
| 57 | func TestNewWithBigInt(t *testing.T) { |
| 58 | tests := []string{ |
no test coverage detected
searching dependent graphs…