testutils

package
v0.0.0-...-b412545 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecBottomLeftLat float64 = 52.519121
	RecBottomLeftLng float64 = 13.402381
	RecTopRightLat   float64 = 52.538528
	RecTopRightLng   float64 = 13.427941
	BerlinCenterLat  float64 = 52.520008
	BerlinCenterLng  float64 = 13.404954
)

Variables

Functions

func GetDBConnection

func GetDBConnection(t *testing.T) *mongo.Database

func IsInRectangle

func IsInRectangle(bottomLeft, topRigth, coordinates scootertype.Location, t *testing.T) bool

func PrepareTestDatabase

func PrepareTestDatabase(DB *mongo.Database, t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL