blob: 1622bad9713efb96791074a8626391ce5dd96541 [file] [log] [blame]
Akron126e33c2016-01-07 21:08:45 +01001#!/usr/bin/env perl
2use strict;
3use warnings;
4use utf8;
Akron194be542016-01-21 12:52:43 +01005use Test::More; # skip_all => 'Not yet implemented';
Akron126e33c2016-01-07 21:08:45 +01006use Scalar::Util qw/weaken/;
7use Data::Dumper;
Akron11ef51d2016-01-18 19:07:56 +01008use lib 't/index';
9use TestInit;
Akron126e33c2016-01-07 21:08:45 +010010
Akron11ef51d2016-01-18 19:07:56 +010011ok(my $tokens = TestInit::tokens('0001'), 'Parse tokens');
Akron126e33c2016-01-07 21:08:45 +010012
13ok($tokens->add('Mate', 'Dependency'), 'Add Structure');
14
Akron194be542016-01-21 12:52:43 +010015my $data = $tokens->to_data->{data};
16
17diag Dumper $data;
Akron126e33c2016-01-07 21:08:45 +010018
19done_testing;
20
21__END__
22