Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. use v6.c;
  2. use Test; # a Standard module included with Rakudo
  3. use lib 'lib';
  4.  
  5. use AI::Agent::Agent;
  6.  
  7. my $num-tests = 1;
  8.  
  9. plan $num-tests;
  10.  
  11. # .... tests
  12. #
  13.  
  14. my $msg = "ask about";
  15. my %optargs;
  16. ###my AI::Agent::Agent $ag = AI::Agent::Agent.new(0);
  17. my $ag = AI::Agent::Agent.new( x => 0 );
  18. say $ag.dispatch($msg, %optargs);
  19.  
  20. done-testing; # optional with 'plan'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement