| 1 | // Code generated by gen_tests.py and process_polyglot.py. |
| 2 | // Do not edit this file directly. |
| 3 | // The template for this file is located at: |
| 4 | // ../template.go.tpl |
| 5 | package reql_testsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/ |
| 6 | |
| 7 | import ( |
| 8 | "testingscip-go gomod github.com/golang/go/src go1.14 testing/" |
| 9 | "timescip-go gomod github.com/golang/go/src go1.14 time/" |
| 10 | |
| 11 | "github.com/stretchr/testify/suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/" |
| 12 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ "gopkg.in/rethinkdb/rethinkdb-go.v6scip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/" |
| 13 | "gopkg.in/rethinkdb/rethinkdb-go.v6/internal/comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/" |
| 14 | ) |
| 15 | |
| 16 | // Test geo constructors |
| 17 | func TestGeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/TestGeoConstructorsSuite().(t *testingscip-go gomod github.com/golang/go/src go1.14 testing/.Tscip-go gomod github.com/golang/go/src go1.14 testing/T#) { |
| 18 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Runscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Run().(t, new(GeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#)) |
| 19 | } |
| 20 | |
| 21 | type GeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite# struct { |
| 22 | suitescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite. |
| 23 | |
| 24 | sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session. *rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session# |
| 25 | } |
| 26 | |
| 27 | func (suite *GeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#) SetupTestscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#SetupTest().() { |
| 28 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Setting up GeoConstructorsSuite") |
| 29 | // Use imports to prevent errors |
| 30 | _ = timescip-go gomod github.com/golang/go/src go1.14 time/.Timescip-go gomod github.com/golang/go/src go1.14 time/Time#{} |
| 31 | _ = comparescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/.AnythingIsFinescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/compare`/AnythingIsFine. |
| 32 | |
| 33 | session, err := rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Connectscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Connect().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.ConnectOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#{ |
| 34 | Addressscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/ConnectOpts#Address.: urlscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/url., |
| 35 | }) |
| 36 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err, "Error returned when connecting to server") |
| 37 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session. = session |
| 38 | |
| 39 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_geoc").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session.) |
| 40 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBCreatescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBCreate().("db_geoc").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session.) |
| 41 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 42 | err = rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("db_geoc").Waitscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Wait().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session.) |
| 43 | suite.Requirescip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#Require().().NoErrorscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/require`/Assertions#NoError().(err) |
| 44 | |
| 45 | } |
| 46 | |
| 47 | func (suite *GeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#) TearDownSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#TearDownSuite().() { |
| 48 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Tearing down GeoConstructorsSuite") |
| 49 | |
| 50 | if suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session. != nil { |
| 51 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DB().("rethinkdb").Tablescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Table().("_debug_scratch").Deletescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Delete().().Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session.) |
| 52 | rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.DBDropscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/DBDrop().("db_geoc").Execscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Term#Exec().(suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session.) |
| 53 | |
| 54 | suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session..Closescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Session#Close().() |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (suite *GeoConstructorsSuitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#) TestCasesscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#TestCases().() { |
| 59 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Running GeoConstructorsSuite: Test geo constructors") |
| 60 | |
| 61 | { |
| 62 | // geo/constructors.yaml line #4 |
| 63 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[0, 0], 'type':'Point'}) */ |
| 64 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{0, 0}, "type": "Point"} |
| 65 | /* r.point(0, 0) */ |
| 66 | |
| 67 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #4: r.Point(0, 0)") |
| 68 | |
| 69 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 0), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 70 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 71 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 72 | }) |
| 73 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #4") |
| 74 | } |
| 75 | |
| 76 | { |
| 77 | // geo/constructors.yaml line #6 |
| 78 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[0, -90], 'type':'Point'}) */ |
| 79 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{0, -90}, "type": "Point"} |
| 80 | /* r.point(0, -90) */ |
| 81 | |
| 82 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #6: r.Point(0, -90)") |
| 83 | |
| 84 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, -90), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 85 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 86 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 87 | }) |
| 88 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #6") |
| 89 | } |
| 90 | |
| 91 | { |
| 92 | // geo/constructors.yaml line #8 |
| 93 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[0, 90], 'type':'Point'}) */ |
| 94 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{0, 90}, "type": "Point"} |
| 95 | /* r.point(0, 90) */ |
| 96 | |
| 97 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #8: r.Point(0, 90)") |
| 98 | |
| 99 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 90), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 100 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 101 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 102 | }) |
| 103 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #8") |
| 104 | } |
| 105 | |
| 106 | { |
| 107 | // geo/constructors.yaml line #10 |
| 108 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[-180, 0], 'type':'Point'}) */ |
| 109 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{-180, 0}, "type": "Point"} |
| 110 | /* r.point(-180, 0) */ |
| 111 | |
| 112 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #10: r.Point(-180, 0)") |
| 113 | |
| 114 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(-180, 0), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 115 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 116 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 117 | }) |
| 118 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #10") |
| 119 | } |
| 120 | |
| 121 | { |
| 122 | // geo/constructors.yaml line #12 |
| 123 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[180, 0], 'type':'Point'}) */ |
| 124 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{180, 0}, "type": "Point"} |
| 125 | /* r.point(180, 0) */ |
| 126 | |
| 127 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #12: r.Point(180, 0)") |
| 128 | |
| 129 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(180, 0), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 130 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 131 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 132 | }) |
| 133 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #12") |
| 134 | } |
| 135 | |
| 136 | { |
| 137 | // geo/constructors.yaml line #14 |
| 138 | /* err('ReqlQueryLogicError', 'Latitude must be between -90 and 90. Got -91.', [0]) */ |
| 139 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Latitude must be between -90 and 90. Got -91.") |
| 140 | /* r.point(0, -91) */ |
| 141 | |
| 142 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #14: r.Point(0, -91)") |
| 143 | |
| 144 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, -91), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 145 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 146 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 147 | }) |
| 148 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #14") |
| 149 | } |
| 150 | |
| 151 | { |
| 152 | // geo/constructors.yaml line #16 |
| 153 | /* err('ReqlQueryLogicError', 'Latitude must be between -90 and 90. Got 91.', [0]) */ |
| 154 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Latitude must be between -90 and 90. Got 91.") |
| 155 | /* r.point(0, 91) */ |
| 156 | |
| 157 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #16: r.Point(0, 91)") |
| 158 | |
| 159 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 91), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 160 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 161 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 162 | }) |
| 163 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #16") |
| 164 | } |
| 165 | |
| 166 | { |
| 167 | // geo/constructors.yaml line #18 |
| 168 | /* err('ReqlQueryLogicError', 'Longitude must be between -180 and 180. Got -181.', [0]) */ |
| 169 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Longitude must be between -180 and 180. Got -181.") |
| 170 | /* r.point(-181, 0) */ |
| 171 | |
| 172 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #18: r.Point(-181, 0)") |
| 173 | |
| 174 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(-181, 0), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 175 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 176 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 177 | }) |
| 178 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #18") |
| 179 | } |
| 180 | |
| 181 | { |
| 182 | // geo/constructors.yaml line #20 |
| 183 | /* err('ReqlQueryLogicError', 'Longitude must be between -180 and 180. Got 181.', [0]) */ |
| 184 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Longitude must be between -180 and 180. Got 181.") |
| 185 | /* r.point(181, 0) */ |
| 186 | |
| 187 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #20: r.Point(181, 0)") |
| 188 | |
| 189 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(181, 0), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 190 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 191 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 192 | }) |
| 193 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #20") |
| 194 | } |
| 195 | |
| 196 | { |
| 197 | // geo/constructors.yaml line #28 |
| 198 | /* err('ReqlQueryLogicError', 'Invalid LineString. Are there antipodal or duplicate vertices?', [0]) */ |
| 199 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Invalid LineString. Are there antipodal or duplicate vertices?") |
| 200 | /* r.line([0,0], [0,0]) */ |
| 201 | |
| 202 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #28: r.Line([]interface{}{0, 0}, []interface{}{0, 0})") |
| 203 | |
| 204 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{0, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 205 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 206 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 207 | }) |
| 208 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #28") |
| 209 | } |
| 210 | |
| 211 | { |
| 212 | // geo/constructors.yaml line #30 |
| 213 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[[0,0], [0,1]], 'type':'LineString'}) */ |
| 214 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{[]interface{}{0, 0}, []interface{}{0, 1}}, "type": "LineString"} |
| 215 | /* r.line([0,0], [0,1]) */ |
| 216 | |
| 217 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #30: r.Line([]interface{}{0, 0}, []interface{}{0, 1})") |
| 218 | |
| 219 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{0, 1}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 220 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 221 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 222 | }) |
| 223 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #30") |
| 224 | } |
| 225 | |
| 226 | { |
| 227 | // geo/constructors.yaml line #32 |
| 228 | /* err('ReqlQueryLogicError', 'Expected point coordinate pair. Got 1 element array instead of a 2 element one.', [0]) */ |
| 229 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected point coordinate pair. Got 1 element array instead of a 2 element one.") |
| 230 | /* r.line([0,0], [1]) */ |
| 231 | |
| 232 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #32: r.Line([]interface{}{0, 0}, []interface{}{1})") |
| 233 | |
| 234 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{1}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 235 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 236 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 237 | }) |
| 238 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #32") |
| 239 | } |
| 240 | |
| 241 | { |
| 242 | // geo/constructors.yaml line #34 |
| 243 | /* err('ReqlQueryLogicError', 'Expected point coordinate pair. Got 3 element array instead of a 2 element one.', [0]) */ |
| 244 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected point coordinate pair. Got 3 element array instead of a 2 element one.") |
| 245 | /* r.line([0,0], [1,0,0]) */ |
| 246 | |
| 247 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #34: r.Line([]interface{}{0, 0}, []interface{}{1, 0, 0})") |
| 248 | |
| 249 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{1, 0, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 250 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 251 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 252 | }) |
| 253 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #34") |
| 254 | } |
| 255 | |
| 256 | { |
| 257 | // geo/constructors.yaml line #36 |
| 258 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[[0,0], [0,1], [0,0]], 'type':'LineString'}) */ |
| 259 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{[]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 0}}, "type": "LineString"} |
| 260 | /* r.line([0,0], [0,1], [0,0]) */ |
| 261 | |
| 262 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #36: r.Line([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 0})") |
| 263 | |
| 264 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 265 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 266 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 267 | }) |
| 268 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #36") |
| 269 | } |
| 270 | |
| 271 | { |
| 272 | // geo/constructors.yaml line #38 |
| 273 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[[0,0], [0,1], [0,0]], 'type':'LineString'}) */ |
| 274 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{[]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 0}}, "type": "LineString"} |
| 275 | /* r.line(r.point(0,0), r.point(0,1), r.point(0,0)) */ |
| 276 | |
| 277 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #38: r.Line(r.Point(0, 0), r.Point(0, 1), r.Point(0, 0))") |
| 278 | |
| 279 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 0), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 1), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 0)), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 280 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 281 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 282 | }) |
| 283 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #38") |
| 284 | } |
| 285 | |
| 286 | { |
| 287 | // geo/constructors.yaml line #40 |
| 288 | /* err('ReqlQueryLogicError', 'Expected geometry of type `Point` but found `LineString`.', [0]) */ |
| 289 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected geometry of type `Point` but found `LineString`.") |
| 290 | /* r.line(r.point(0,0), r.point(1,0), r.line([0,0], [1,0])) */ |
| 291 | |
| 292 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #40: r.Line(r.Point(0, 0), r.Point(1, 0), r.Line([]interface{}{0, 0}, []interface{}{1, 0}))") |
| 293 | |
| 294 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 0), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(1, 0), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{1, 0})), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 295 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 296 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 297 | }) |
| 298 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #40") |
| 299 | } |
| 300 | |
| 301 | { |
| 302 | // geo/constructors.yaml line #50 |
| 303 | /* err('ReqlQueryLogicError', 'Invalid LinearRing. Are there antipodal or duplicate vertices? Is it self-intersecting?', [0]) */ |
| 304 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Invalid LinearRing. Are there antipodal or duplicate vertices? Is it self-intersecting?") |
| 305 | /* r.polygon([0,0], [0,0], [0,0], [0,0]) */ |
| 306 | |
| 307 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #50: r.Polygon([]interface{}{0, 0}, []interface{}{0, 0}, []interface{}{0, 0}, []interface{}{0, 0})") |
| 308 | |
| 309 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 0}, []interface{}{0, 0}, []interface{}{0, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 310 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 311 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 312 | }) |
| 313 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #50") |
| 314 | } |
| 315 | |
| 316 | { |
| 317 | // geo/constructors.yaml line #52 |
| 318 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[[[0,0], [0,1], [1,0], [0,0]]], 'type':'Polygon'}) */ |
| 319 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{[]interface{}{[]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{0, 0}}}, "type": "Polygon"} |
| 320 | /* r.polygon([0,0], [0,1], [1,0]) */ |
| 321 | |
| 322 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #52: r.Polygon([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0})") |
| 323 | |
| 324 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 325 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 326 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 327 | }) |
| 328 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #52") |
| 329 | } |
| 330 | |
| 331 | { |
| 332 | // geo/constructors.yaml line #54 |
| 333 | /* ({'$reql_type$':'GEOMETRY', 'coordinates':[[[0,0], [0,1], [1,0], [0,0]]], 'type':'Polygon'}) */ |
| 334 | var expected_ map[interface{}]interface{} = map[interface{}]interface{}{"$reql_type$": "GEOMETRY", "coordinates": []interface{}{[]interface{}{[]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{0, 0}}}, "type": "Polygon"} |
| 335 | /* r.polygon([0,0], [0,1], [1,0], [0,0]) */ |
| 336 | |
| 337 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #54: r.Polygon([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{0, 0})") |
| 338 | |
| 339 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{0, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 340 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 341 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 342 | }) |
| 343 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #54") |
| 344 | } |
| 345 | |
| 346 | { |
| 347 | // geo/constructors.yaml line #56 |
| 348 | /* err('ReqlQueryLogicError', 'Invalid LinearRing. Are there antipodal or duplicate vertices? Is it self-intersecting?', [0]) */ |
| 349 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Invalid LinearRing. Are there antipodal or duplicate vertices? Is it self-intersecting?") |
| 350 | /* r.polygon([0,0], [0,1], [1,0], [-1,0.5]) */ |
| 351 | |
| 352 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #56: r.Polygon([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{-1, 0.5})") |
| 353 | |
| 354 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{1, 0}, []interface{}{-1, 0.5}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 355 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 356 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 357 | }) |
| 358 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #56") |
| 359 | } |
| 360 | |
| 361 | { |
| 362 | // geo/constructors.yaml line #58 |
| 363 | /* err('ReqlQueryLogicError', 'Expected point coordinate pair. Got 1 element array instead of a 2 element one.', [0]) */ |
| 364 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected point coordinate pair. Got 1 element array instead of a 2 element one.") |
| 365 | /* r.polygon([0,0], [0,1], [0]) */ |
| 366 | |
| 367 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #58: r.Polygon([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0})") |
| 368 | |
| 369 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 370 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 371 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 372 | }) |
| 373 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #58") |
| 374 | } |
| 375 | |
| 376 | { |
| 377 | // geo/constructors.yaml line #60 |
| 378 | /* err('ReqlQueryLogicError', 'Expected point coordinate pair. Got 3 element array instead of a 2 element one.', [0]) */ |
| 379 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected point coordinate pair. Got 3 element array instead of a 2 element one.") |
| 380 | /* r.polygon([0,0], [0,1], [0,1,0]) */ |
| 381 | |
| 382 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #60: r.Polygon([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 1, 0})") |
| 383 | |
| 384 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().([]interface{}{0, 0}, []interface{}{0, 1}, []interface{}{0, 1, 0}), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 385 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 386 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 387 | }) |
| 388 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #60") |
| 389 | } |
| 390 | |
| 391 | { |
| 392 | // geo/constructors.yaml line #62 |
| 393 | /* err('ReqlQueryLogicError', 'Expected geometry of type `Point` but found `LineString`.', [0]) */ |
| 394 | var expected_ Errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/Err# = errscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/err().("ReqlQueryLogicError", "Expected geometry of type `Point` but found `LineString`.") |
| 395 | /* r.polygon(r.point(0,0), r.point(0,1), r.line([0,0], [0,1])) */ |
| 396 | |
| 397 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("About to run line #62: r.Polygon(r.Point(0, 0), r.Point(0, 1), r.Line([]interface{}{0, 0}, []interface{}{0, 1}))") |
| 398 | |
| 399 | runAndAssertscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/runAndAssert().(suite.Suitescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#Suite., expected_, rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Polygonscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Polygon().(rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 0), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Pointscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Point().(0, 1), rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.Linescip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/Line().([]interface{}{0, 0}, []interface{}{0, 1})), suite.sessionscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6/internal/integration/reql_tests`/GeoConstructorsSuite#session., rscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/.RunOptsscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#{ |
| 400 | GeometryFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GeometryFormat.: "raw", |
| 401 | GroupFormatscip-go gomod gopkg.in/rethinkdb/rethinkdb-go.v6 . `gopkg.in/rethinkdb/rethinkdb-go.v6`/RunOpts#GroupFormat.: "map", |
| 402 | }) |
| 403 | suite.Tscip-go gomod github.com/stretchr/testify v1.5.1 `github.com/stretchr/testify/suite`/Suite#T().().Logscip-go gomod github.com/golang/go/src go1.14 testing/common#Log().("Finished running line #62") |
| 404 | } |
| 405 | } |