/tests/00-perl_base.t

https://code.google.com/p/camelbox/ · Raku · 19 lines · 8 code · 5 blank · 6 comment · 4 complexity · 731ac46916482f44664995ed56031489 MD5 · raw file

  1. #!/usr/bin/perl
  2. # basic test file for Perl (and Camelbox)
  3. use strict;
  4. use warnings;
  5. use Test::More tests => 4;
  6. # the Config module is part of the Perl distribution
  7. BEGIN { use_ok( q(Config) ) };
  8. ok($Config{version} eq q(5.10.0), q(Perl $Config{version} is 5.10.0));
  9. ok($Config{prefix} eq q(C:\camelbox),
  10. q($Config{prefix} points to Camelbox base directory));
  11. # just for shits and giggles
  12. ok($Config{_a} eq q(.a), q(Import libraries end with '.a' extension));
  13. # vi: set filetype=perl sw=4 ts=4 cin:
  14. # end of line