Commit 1e239ee7 authored by aliiohs's avatar aliiohs

change package

parent e7da9c7e
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package hessian package gxbig
import ( import (
"math" "math"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package hessian package gxbig
import "testing" import "testing"
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package hessian package gxbig
import ( import (
"strings" "strings"
...@@ -847,9 +847,9 @@ func TestDivMod(t *testing.T) { ...@@ -847,9 +847,9 @@ func TestDivMod(t *testing.T) {
} }
for _, tt := range tests { for _, tt := range tests {
var a, b, to Decimal var a, b, to Decimal
ec := DecimalMod(&a, &b, &to)
_ = a.FromString([]byte(tt.a)) _ = a.FromString([]byte(tt.a))
_ = b.FromString([]byte(tt.b)) _ = b.FromString([]byte(tt.b))
ec := DecimalMod(&a, &b, &to)
assert.Equal(t, ec, tt.err) assert.Equal(t, ec, tt.err)
if tt.err == ErrDivByZero { if tt.err == ErrDivByZero {
continue continue
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
* limitations under the License. * limitations under the License.
*/ */
package hessian package gxbig
import ( import (
"math" "math"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment