Changeset 15340 for lang/perl/Class-Logic/trunk/t/11-module.t
- Timestamp:
- 07/07/08 10:58:04 (5 years ago)
- Location:
- lang/perl/Class-Logic/trunk
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
t/11-module.t (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Class-Logic/trunk
- Property svn:ignore
-
old new 1 inc 1 2 Makefile 2 3 Makefile.old
-
- Property svn:ignore
-
lang/perl/Class-Logic/trunk/t/11-module.t
r15320 r15340 3 3 use warnings; 4 4 package t; 5 use C alc::Logic;5 use Class::Logic; 6 6 use Test::More tests => 22; 7 7 use Scalar::Util qw( blessed ); … … 26 26 BEGIN { 27 27 package Mod00; 28 use C alc::Logic -define;28 use Class::Logic -define; 29 29 rule default 30 30 => or => { true => 'true', … … 39 39 40 40 package Mod01; 41 use C alc::Logic -define;41 use Class::Logic -define; 42 42 rule null => bool => 0; 43 43 default 'null'; … … 49 49 t::ok( __PACKAGE__->can($_) ) 50 50 foreach qw( NOT OR AND XOR NAND NOR default true false ); 51 t::ispkg( default , 'C alc::Logic::Symbol' );52 t::ispkg( true , 'C alc::Logic::Symbol' );53 t::ispkg( false , 'C alc::Logic::Symbol' );51 t::ispkg( default , 'Class::Logic::Symbol' ); 52 t::ispkg( true , 'Class::Logic::Symbol' ); 53 t::ispkg( false , 'Class::Logic::Symbol' ); 54 54 t::ok( OR( true , false ) , "or true false"); 55 55 t::ok( OR( false , true ) , "or false true" );
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)