Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Running a test against the GETBIT subroutine.
- Top row = expected bits.
- 2nd row = actual bits.
- 00000000
- 00000000
- Strings match ... GETBIT worked correctly.
- Running a test against the GETBIT subroutine.
- Top row = expected bits.
- 2nd row = actual bits.
- 11111111
- 11111111
- Strings match ... GETBIT worked correctly.
- Running a test against the GETBIT subroutine.
- Top row = expected bits.
- 2nd row = actual bits.
- 10100101110011000011001110011001001111001100001100
- 10100101110011000011001110011001001111001100001100
- Strings match ... GETBIT worked correctly.
- Testing GETBIT against in invalid requested bit number greater than 1783.
- GETBIT correctly identified an invalid requested bit number greater than 1783.
- Running a test against the GETBIT subroutine.
- Top row = expected bits.
- 2nd row = actual bits.
- 0000000100000011000001110000111100011111001111110111111111111111
- 0000000100000011000001110000111100011111001111110111111111111111
- Strings match ... GETBIT worked correctly.
- Testing GETBIT against in invalid requested bit number greater than 1783.
- GETBIT correctly identified an invalid requested bit number greater than 1783.
- Running a test against the GETBIT subroutine.
- Top row = expected bits.
- 2nd row = actual bits.
- 0000000011111111101001011100110000110011100110010000000011111111000000
- 0000000011111111101001011100110000110011100110010000000011111111000000
- Strings match ... GETBIT worked correctly.
- We are now going to test accessing all 1783 bits (223 Bytes).
- Getbit failed this full test.
- This is the string of data bytes (each ASCII character is 8 bits).
- ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNO
- The requested bit was : 0001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement