Documentation ¶
Index ¶
- func AssertEqual(t *testing.T, expected, actual interface{}, message string)
- func AssertTrue(t *testing.T, b bool, message string)
- func GiveCrossingLine(line []float64, length int, direction IntersectionDirection) []float64
- func NewMockMetricsCollector(t *testing.T) *mock_monitor.MockMonitoring
- type IntersectionDirection
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEqual ¶
AssertEqual checks if two values are equal and reports an error if not.
func GiveCrossingLine ¶
func GiveCrossingLine(line []float64, length int, direction IntersectionDirection) []float64
func NewMockMetricsCollector ¶
func NewMockMetricsCollector(t *testing.T) *mock_monitor.MockMonitoring
Types ¶
type IntersectionDirection ¶
type IntersectionDirection string
const ( Above IntersectionDirection = "above" Below IntersectionDirection = "below" )
Click to show internal directories.
Click to hide internal directories.