/[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

Annotation of /M6502/t/05-M6502.t

Parent Directory Parent Directory | Revision Log Revision Log


Revision 86 - (hide annotations)
Wed Aug 1 22:25:37 2007 UTC (16 years, 9 months ago) by dpavlin
File MIME type: application/x-troff
File size: 334 byte(s)
and here it segfaults again :-)
1 dpavlin 83 #!/usr/bin/perl
2    
3     use warnings;
4     use strict;
5    
6     use blib;
7     use lib './lib';
8    
9 dpavlin 84 use Test::More tests => 5;
10 dpavlin 83 use Test::Exception;
11     use Data::Dump qw/dump/;
12    
13     BEGIN {
14     use_ok( 'M6502' );
15     }
16    
17 dpavlin 86 cmp_ok( $PC, '==', 0xbeef, 'PC' );
18    
19 dpavlin 83 ok( M6502::reset(), 'reset' );
20    
21 dpavlin 86 diag dump_R();
22    
23     cmp_ok( $PC, '==', 0x4242, 'PC' );
24    
25    
26 dpavlin 83 ok( M6502::reset(), 'reset again' );

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26