background image
<< ok() to is() | Interpreting The Results >>
<< ok() to is() | Interpreting The Results >>
Diagnostic Output
Diagnostic Output
1..8
ok 1 - new() returned something
ok 2 - and it's the right class
ok 3 - sec()
not ok 4 - min()
# Failed test (- at line 13)
# got: '12'
# expected: '42'
not ok 5 - hour()
# Failed test (- at line 14)
# got: '21'
# expected: '10'
ok 6 - day()
ok 7 - month()
ok 8 - year()
# Looks like you failed 2 tests of 8.
$ical->min returned 12 instead of 42.
$ical->hour returned 21 instead of 10.