Skip to content

Commit

Permalink
appeas unused test
Browse files Browse the repository at this point in the history
  • Loading branch information
maddyblue committed Dec 12, 2016
1 parent 265e7c6 commit 35239b4
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions error_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package apd

import "testing"

// Appease the unused test.
// TODO(mjibson): actually test all the ErrDecimal methods.
func TestErrDecimal(t *testing.T) {
var ed ErrDecimal
a := New(1, 0)
ed.Abs(a, a)
ed.Exp(a, a)
ed.Ln(a, a)
ed.Log10(a, a)
ed.Neg(a, a)
ed.QuoInteger(a, a, a)
ed.Rem(a, a, a)
}

0 comments on commit 35239b4

Please sign in to comment.