Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1.  
  2.  
  3. Running a test against the GETBIT subroutine.
  4. Top row = expected bits.
  5. 2nd row = actual bits.
  6. 00000000
  7. 00000000
  8.  
  9.  
  10. Strings match ... GETBIT worked correctly.
  11.  
  12.  
  13. Running a test against the GETBIT subroutine.
  14. Top row = expected bits.
  15. 2nd row = actual bits.
  16. 11111111
  17. 11111111
  18.  
  19.  
  20. Strings match ... GETBIT worked correctly.
  21.  
  22.  
  23. Running a test against the GETBIT subroutine.
  24. Top row = expected bits.
  25. 2nd row = actual bits.
  26. 10100101110011000011001110011001001111001100001100
  27. 10100101110011000011001110011001001111001100001100
  28.  
  29.  
  30. Strings match ... GETBIT worked correctly.
  31.  
  32.  
  33. Testing GETBIT against in invalid requested bit number greater than 1783.
  34.  
  35. GETBIT correctly identified an invalid requested bit number greater than 1783.
  36.  
  37.  
  38.  
  39. Running a test against the GETBIT subroutine.
  40. Top row = expected bits.
  41. 2nd row = actual bits.
  42. 0000000100000011000001110000111100011111001111110111111111111111
  43. 0000000100000011000001110000111100011111001111110111111111111111
  44.  
  45.  
  46. Strings match ... GETBIT worked correctly.
  47.  
  48.  
  49. Testing GETBIT against in invalid requested bit number greater than 1783.
  50.  
  51. GETBIT correctly identified an invalid requested bit number greater than 1783.
  52.  
  53.  
  54.  
  55. Running a test against the GETBIT subroutine.
  56. Top row = expected bits.
  57. 2nd row = actual bits.
  58. 0000000011111111101001011100110000110011100110010000000011111111000000
  59. 0000000011111111101001011100110000110011100110010000000011111111000000
  60.  
  61.  
  62. Strings match ... GETBIT worked correctly.
  63.  
  64.  
  65. We are now going to test accessing all 1783 bits (223 Bytes).
  66.  
  67. Getbit failed this full test.
  68.  
  69. This is the string of data bytes (each ASCII character is 8 bits).
  70.  
  71. ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNO
  72.  
  73. The requested bit was : 0001
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement