### ----------------------------------------------------
### -- Raygui::Bindings
### -- Licenses: Artistic-2.0
### -- Authors: Dan Vu (vushu)
### -- File: t/00-parse-raygui.rakutest
### ----------------------------------------------------
use Test;
use lib 'lib';

plan 3;
use Raygui::Grammar;
use Raygui::Actions;
use-ok "Raygui::Grammar";
use-ok "Raygui::Actions";


my $source = slurp "resources/raygui.h";
my $parser = Grammar.new;
my $actions = Actions.new;
$actions.library-name = "LIBRAYGUI";

ok $parser.parse($source, actions => $actions), "Succesfully parsed raygui.h";

done-testing;


