#!/usr/bin/env perl6 use v6; use Test; use JSON::Fast; use lib $?FILE.IO.dirname; use Clock; plan 53; my Version:D $version = v3; if Clock.^ver !~~ $version { warn "\nExercise version mismatch. Further tests may fail!" ~ "\nClock is {Clock.^ver.gist}. " ~ "Test is {$version.gist}.\n"; } subtest 'Class methods', { ok Clock.can($_), $_ for