fixed tests after move of packages

master
Oliver Tonnhofer 2013-05-07 07:56:09 +02:00
parent d7ce2053d2
commit 42dbbb654a
2 changed files with 2 additions and 7 deletions

View File

@ -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()
}

View File

@ -5,10 +5,10 @@ import (
"code.google.com/p/goprotobuf/proto"
"compress/zlib"
"fmt"
"goposm/parser/osmpbf"
"io"
"log"
"os"
"osmpbf"
"testing"
)