MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestTimerNumberLessThen1

Function TestTimerNumberLessThen1

timer_test.go:36–43  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

34}
35
36func TestTimerNumberLessThen1(t *testing.T) {
37 output, configuration := setup(t)
38
39 err := startTimer("0", configuration)
40
41 assertError(t, err, "The parameter must be an integer number greater then zero")
42 assertOutputContains(t, output, "The parameter must be an integer number greater then zero")
43}
44
45func TestTimerNotANumber(t *testing.T) {
46 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

setupFunction · 0.85
startTimerFunction · 0.85
assertErrorFunction · 0.85
assertOutputContainsFunction · 0.85

Tested by

no test coverage detected