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