replace zxq.co/ripple/hanayo

This commit is contained in:
Alicia
2019-02-23 13:29:15 +00:00
commit c3d206c173
5871 changed files with 1353715 additions and 0 deletions

19
vendor/github.com/felipeweb/gopher-utils/math_test.go generated vendored Normal file
View File

@@ -0,0 +1,19 @@
package gopher_utils
import (
. "github.com/smartystreets/goconvey/convey"
"math"
"testing"
)
func Test_Pow(t *testing.T) {
Convey("Power int", t, func() {
for x := 0; x < 10; x++ {
for y := 0; y < 8; y++ {
result := PowInt(x, y)
result_float := math.Pow(float64(x), float64(y))
So(result, ShouldEqual, int(result_float))
}
}
})
}