/[VRac]/M6502/t/05-M6502.t
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /M6502/t/05-M6502.t

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 195 by dpavlin, Sun Apr 13 00:32:39 2008 UTC revision 196 by dpavlin, Sun Apr 13 00:44:07 2008 UTC
# Line 103  foreach my $test ( @flip_tests ) { Line 103  foreach my $test ( @flip_tests ) {
103          cmp_ok( $PC, '==', 0x1016, 'PC moved' );          cmp_ok( $PC, '==', 0x1016, 'PC moved' );
104    
105          foreach my $a ( 0x6000 .. 0x600c ) {          foreach my $a ( 0x6000 .. 0x600c ) {
106                  cmp_ok( $mem[$a], '==', $test->{expect}, sprintf('flipped %04x to %08b',$a, $mem[$a]) );                  cmp_ok( $mem[$a], '==', $test->{expect}, sprintf('flipped %04x %08b -> %08b',$a, $test->{fill}, $mem[$a]) );
107          }          }
108  }  }

Legend:
Removed from v.195  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.26