exercise: Clock version: 1 methods: time add-minutes plan: 54 tests: | is ::($exercise).new(hour => ., minute => .).?time, |. for @($c-data[0]); for @($c-data[1,2]) { for @(.) { my $clock = ::($exercise).new(hour => ., minute => .); $clock.?add-minutes(.); is $clock.?time, |.; } } is ::($exercise).new(hour => ., minute => .).?time eq ::($exercise).new(hour => ., minute => .).?time, |. for @($c-data[3]); todo 'optional test' unless %*ENV; is ::($exercise).new(:0hour,:0minute).?add-minutes(65).?time, '01:05', 'add-minutes method can be chained';