Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Zoppi <texzk@email.it>
  • Loading branch information
TexZK committed Mar 7, 2024
1 parent 698174a commit a44c244
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/test_hexdump/test_hd_-I_srec_triangle.mot.hd
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f |................|
00000010 -- 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e -- | .............. |
00000020 -- -- 02 03 04 05 06 07 08 09 0a 0b 0c 0d -- -- | ............ |
00000030 -- -- -- 03 04 05 06 07 08 09 0a 0b 0c -- -- -- | .......... |
00000040 -- -- -- -- 04 05 06 07 08 09 0a 0b -- -- -- -- | ........ |
00000050 -- -- -- -- -- 05 06 07 08 09 0a -- -- -- -- -- | ...... |
00000060 -- -- -- -- -- -- 06 07 08 09 -- -- -- -- -- -- | .... |
00000070 -- -- -- -- -- -- -- 07 08 << << << << << << << | ..<<<<<<<|
00000080
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
00000000 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f |................|
00000010 -- 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e -- | .............. |
00000020 -- -- 02 03 04 05 06 07 08 09 0a 0b 0c 0d -- -- | ............ |
00000030 -- -- -- 03 04 05 06 07 08 09 0a 0b 0c -- -- -- | .......... |
00000040 -- -- -- -- 04 05 06 07 08 09 0a 0b -- -- -- -- | ........ |
00000050 -- -- -- -- -- 05 06 07 08 09 0a -- -- -- -- -- | ...... |
00000060 -- -- -- -- -- -- 06 07 08 09 -- -- -- -- -- -- | .... |
00000070 -- -- -- -- -- -- -- 07 08 << << << << << << << | ..<<<<<<<|
00000080
11 changes: 11 additions & 0 deletions tests/test_hexdump/triangle.mot
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
S0030000FC
S1130000000102030405060708090A0B0C0D0E0F74
S11100110102030405060708090A0B0C0D0E74
S10F002202030405060708090A0B0C0D74
S10D0033030405060708090A0B0C74
S10B00440405060708090A0B74
S109005505060708090A74
S10700660607080974
S1050077070874
S5030008F4
S9030000FC
8 changes: 8 additions & 0 deletions tests/test_xxd/test_xxd_-I_srec_triangle.mot.xxd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
00000000: 0001 0203 0405 0607 0809 0a0b 0c0d 0e0f ................
00000010: --01 0203 0405 0607 0809 0a0b 0c0d 0e-- ..............
00000020: ---- 0203 0405 0607 0809 0a0b 0c0d ---- ............
00000030: ---- --03 0405 0607 0809 0a0b 0c-- ---- ..........
00000040: ---- ---- 0405 0607 0809 0a0b ---- ---- ........
00000050: ---- ---- --05 0607 0809 0a-- ---- ---- ......
00000060: ---- ---- ---- 0607 0809 ---- ---- ---- ....
00000070: ---- ---- ---- --07 08<< <<<< <<<< <<<< ..<<<<<<<
11 changes: 11 additions & 0 deletions tests/test_xxd/triangle.mot
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
S0030000FC
S1130000000102030405060708090A0B0C0D0E0F74
S11100110102030405060708090A0B0C0D0E74
S10F002202030405060708090A0B0C0D74
S10D0033030405060708090A0B0C74
S10B00440405060708090A0B74
S109005505060708090A74
S10700660607080974
S1050077070874
S5030008F4
S9030000FC

0 comments on commit a44c244

Please sign in to comment.