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