Skip to content

Commit

Permalink
add 6 example bitstreams
Browse files Browse the repository at this point in the history
Add bitstreams to the test data folder so people can more easily test
the driver.  Bitstreams include a Brock Conference Card, an EB Edge
card, two M&M Meat Shops MAX cards, a Petro Points card, and a Starbucks
card.

Add a note to the README describing the test_data folder.
  • Loading branch information
ossguy committed Feb 24, 2009
1 parent 8465d92 commit c0fbd09
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ first line of standard input, Track 2 data on the second line of standard
input, and Track 3 data on the third line of standard input. To specify no
data for a particular track, simply use an empty line.

Example bitstreams are available in the test_data directory. You can run them
through the test driver using a command like "./driver < test_data/eb_edge".

Alternatively, you can write your own application that #includes bitconvert.h
and links with libbitconvert.a, but beware that the API is not yet stable so
you may have to update your application regularly to keep up with the changes.
Expand Down
3 changes: 3 additions & 0 deletions test_data/brock_conference_card
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

00000000110101000010101010000100010101100001111100100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

3 changes: 3 additions & 0 deletions test_data/eb_edge
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

00000000110101000001101000010000110000101011010101000111001110010011100001111100010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

3 changes: 3 additions & 0 deletions test_data/mm_meat_shops_max-6770
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
000000000000000000000000000000000000000000000001010001011010011101011110101000010011101010100101000010000011011111100100010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000011010011011110011100000011110001000000010001011111111110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

3 changes: 3 additions & 0 deletions test_data/mm_meat_shops_max-7351
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
000000000000000000000000000000000000000000001010001111010111001001010100100010110011000000100110010010101001111100101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000011010111001100110101100001001100001110011010111111110100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

3 changes: 3 additions & 0 deletions test_data/petro_points
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
000000000000000000000000000000000000000000000000000000001010001010001111101010000100011010010011000001101000110110101000000100000010000001000000100010010100001000100101111010110011001001100001010101111100000001000000100000010000001000000100000010000001000000100000010000001000000100000010000001000000100000010000001000000100000010000001000000100000010000001000000100000010000001000000101111101010100100110010001010100101100010111001000110100000010000001001001100000010000001000000100100010100001001010100011010001101001111100000011100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000110101110000001011011001100010000101010100001000010000100001010000000101000111001001110011001001011010101100111000001000100001100101101000010000110011000010000100001100000000110101011010110111111100000000000000000000000000000000

3 changes: 3 additions & 0 deletions test_data/starbucks
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0000000000000000000000000000000000000000000010100010100011011010000001001000101000010010101000110100001010101101001010100100110011101010010101001010110001011110101100010101111100000100000010001001011010100111100111000101000011011101100101101110110100101000110101001010111001100010110010110010011010100100010110010011010100101000011001011001111100000100000010000001001000101000010000001000000100001010100001000000100000010000001000110100000010000001001100100110010000101010100101010010100000010000001000000100000010000001000000100000010000001000000100000010000001111110000100110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
000000110100110100001100000000110101011010010001101101011001111100001000010010000111001000010110000010000100001100000000100001000010010000001000010000100001011010000100001110011100100100010000100011111001000000000000000000000000000000000001

0 comments on commit c0fbd09

Please sign in to comment.