fixed tests after move of packages
parent
d7ce2053d2
commit
42dbbb654a
|
@ -1,12 +1,7 @@
|
|||
package geos
|
||||
|
||||
import "testing"
|
||||
import "math"
|
||||
|
||||
func TestFoo(t *testing.T) {
|
||||
if x := Foo(); math.Abs(x-3.1415) > 0.01 {
|
||||
t.Errorf("Buffer is not 3.1415: %f", x)
|
||||
}
|
||||
geos := NewGEOS()
|
||||
BufferBench(geos)
|
||||
_ = NewGEOS()
|
||||
}
|
||||
|
|
|
@ -5,10 +5,10 @@ import (
|
|||
"code.google.com/p/goprotobuf/proto"
|
||||
"compress/zlib"
|
||||
"fmt"
|
||||
"goposm/parser/osmpbf"
|
||||
"io"
|
||||
"log"
|
||||
"os"
|
||||
"osmpbf"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue