The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
#!/usr/bin/perl -w

use strict;
# use warnings; # commented out in case you don't have it!

use Test::More tests => 2;
use IChing::Hexagram::Illuminatus;

my $hex = IChing::Hexagram::Illuminatus->new;

is $hex->technological, 'http://www.slashdot.org/slashdot.rdf', 
  "technological site reference correct (default)";

$hex->throw;

$hex = IChing::Hexagram::Illuminatus->new(
	{ technological => 'somewhere.else.com' });

is $hex->technological, 'somewhere.else.com', 
  "technological site reference correct (user defined)";