### ----------------------------------------------------
### -- Bench
### -- Licenses: 
### -- Authors: 
### -- File: t/telemetry.t
### ----------------------------------------------------
use lib 'lib';
use Bench;
use Test;

plan 1;

if (try require ::('Telemetry') <&infix:<->>) !~~ Nil {
  my $b = Bench.new;
  ok (4.5) < $b.timethis(1, sub { sleep 5; })[0].wallclock < (5.5), 'Timing test';
} else {
  skip-rest;
}

done-testing;


