" Vim Test Cases for Editing .srec Files " Maintainer: Alexander Fleck " " License: This File is placed in the Public Domain. " Revision | Date [DD.MM.YY] | Changes " 00.01.00 | 05.07.09 | 01. Revision " 00.01.10 | 29.03.10 | BugFix, in libsrec#CrCS() " | | leading Zeros in Result " 00.02.00 | 29.03.10 | Fun added " This File contains Test Cases for the Plugin 'editsrec.vim' " and its Library 'libsrec.vim'. TestCases for ByteCount Line ----------------------------- insert a new Line and type "S0" type "lb" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S1" type "lb" the following Line will be created S10F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S2" type "lb" the following Line will be created S20F000000FFFFFFFFFFFFFFFFFFFFFFFB insert a new Line and type "S3" type "lb" the following Line will be created S30F00000000FFFFFFFFFFFFFFFFFFFFFA insert a new Line and type "S4" type "lb" Nothing will be created insert a new Line and type "S5" type "lb" the following Line will be created S5030000FC insert a new Line and type "S6" type "lb" Nothing will be created insert a new Line and type "S7" type "lb" the following Line will be created S70500000000FA insert a new Line and type "S8" type "lb" the following Line will be created S804000000FB insert a new Line and type "S9" type "lb" the following Line will be created S9030000FC Part ----------------------------- insert a new Line and type "S0" type "pb" the following Line will be created S00F insert a new Line and type "S1" type "pb" the following Line will be created S10F insert a new Line and type "S2" type "pb" the following Line will be created S20F insert a new Line and type "S3" type "pb" the following Line will be created S30F insert a new Line and type "S4" type "pb" Nothing will be created insert a new Line and type "S5" type "pb" the following Line will be created S503 insert a new Line and type "S6" type "pb" Nothing will be created insert a new Line and type "S7" type "pb" the following Line will be created S705 insert a new Line and type "S8" type "pb" the following Line will be created S804 insert a new Line and type "S9" type "pb" the following Line will be created S903 TestCases for ADdress Line ----------------------------- insert a new Line and type "S00F" type "la" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S10F" type "la" the following Line will be created S10F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S20F" type "la" the following Line will be created S20F000000FFFFFFFFFFFFFFFFFFFFFFFB insert a new Line and type "S30F" type "la" the following Line will be created S30F00000000FFFFFFFFFFFFFFFFFFFFFA insert a new Line and type "S40F" type "la" Nothing will be created insert a new Line and type "S503" type "la" the following Line will be created S5030000FC insert a new Line and type "S60F" type "la" Nothing will be created insert a new Line and type "S705" type "la" the following Line will be created S70500000000FA insert a new Line and type "S804" type "la" the following Line will be created S804000000FB insert a new Line and type "S903" type "la" the following Line will be created S9030000FC Part ----------------------------- insert a new Line and type "S00F" type "pa" the following Line will be created S00F0000 insert a new Line and type "S10F" type "pa" the following Line will be created S10F0000 insert a new Line and type "S20F" type "pa" the following Line will be created S20F000000 insert a new Line and type "S30F" type "pa" the following Line will be created S30F00000000 insert a new Line and type "S40F" type "pa" Nothing will be created insert a new Line and type "S503" type "pa" the following Line will be created S5030000 insert a new Line and type "S60F" type "pa" Nothing will be created insert a new Line and type "S705" type "pa" the following Line will be created S70500000000 insert a new Line and type "S804" type "pa" the following Line will be created S804000000 insert a new Line and type "S903" type "pa" the following Line will be created S9030000 TestCases for DAta Line ----------------------------- insert a new Line and type "S00F0000" type "ld" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S10F0000" type "ld" the following Line will be created S10F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S20F000000" type "ld" the following Line will be created S20F000000FFFFFFFFFFFFFFFFFFFFFFFB insert a new Line and type "S30F00000000" type "ld" the following Line will be created S30F00000000FFFFFFFFFFFFFFFFFFFFFA insert a new Line and type "S40F0000" type "ld" Nothing will be created insert a new Line and type "S5030000" type "ld" the following Line will be created S5030000FC insert a new Line and type "S60F0000" type "ld" Nothing will be created insert a new Line and type "S70500000000" type "ld" the following Line will be created S70500000000FA insert a new Line and type "S804000000" type "ld" the following Line will be created S804000000FB insert a new Line and type "S9030000" type "ld" the following Line will be created S9030000FC Part ----------------------------- insert a new Line and type "S00F0000" type "pd" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFF insert a new Line and type "S10F0000" type "pd" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFF insert a new Line and type "S20F000000" type "pd" the following Line will be created S00F000000FFFFFFFFFFFFFFFFFFFFFF insert a new Line and type "S30F00000000" type "pd" the following Line will be created S00F00000000FFFFFFFFFFFFFFFFFFFF insert a new Line and type "S40F0000" type "pd" Nothing will be created insert a new Line and type "S5030000" type "pd" the following Line will be created S5030000 insert a new Line and type "S60F0000" type "pd" Nothing will be created insert a new Line and type "S70500000000" type "pd" the following Line will be created S70500000000 insert a new Line and type "S804000000" type "pd" the following Line will be created S804000000 insert a new Line and type "S9030000" type "pd" the following Line will be created S9030000 TestCases for CheckSum Line ----------------------------- insert a new Line and type "S00F0000FFFFFFFFFFFFFFFFFFFFFFFF" type "lc" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S10F0000FFFFFFFFFFFFFFFFFFFFFFFF" type "lc" the following Line will be created S10F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S20F000000FFFFFFFFFFFFFFFFFFFFFF" type "lc" the following Line will be created S20F000000FFFFFFFFFFFFFFFFFFFFFFFB insert a new Line and type "S30F00000000FFFFFFFFFFFFFFFFFFFF" type "lc" the following Line will be created S30F00000000FFFFFFFFFFFFFFFFFFFFFA insert a new Line and type "S40F0000" type "lc" Nothing will be created insert a new Line and type "S5030000" type "lc" the following Line will be created S5030000FC insert a new Line and type "S60F0000" type "lc" Nothing will be created insert a new Line and type type "lc" the following Line will be created S70500000000FA insert a new Line and type "S804000000" type "lc" the following Line will be created S804000000FB insert a new Line and type "S9030000" type "lc" the following Line will be created S9030000FC Part ----------------------------- insert a new Line and type "S00F0000FFFFFFFFFFFFFFFFFFFFFFFF" type "pc" the following Line will be created S00F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S10F0000FFFFFFFFFFFFFFFFFFFFFFFF" type "pc" the following Line will be created S10F0000FFFFFFFFFFFFFFFFFFFFFFFFFC insert a new Line and type "S20F000000FFFFFFFFFFFFFFFFFFFFFF" type "pc" the following Line will be created S20F000000FFFFFFFFFFFFFFFFFFFFFFFB insert a new Line and type "S30F00000000FFFFFFFFFFFFFFFFFFFF" type "pc" the following Line will be created S30F00000000FFFFFFFFFFFFFFFFFFFFFA insert a new Line and type "S40F0000" type "pc" Nothing will be created insert a new Line and type "S5030000" type "pc" the following Line will be created S5030000FC insert a new Line and type "S60F0000" type "pc" Nothing will be created insert a new Line and type "S70500000000" type "pc" the following Line will be created S70500000000FA insert a new Line and type "S804000000" type "pc" the following Line will be created S804000000FB insert a new Line and type "S9030000" type "pc" the following Line will be created S9030000FC TestCase for leading Zeros ------- insert a new Line and type "S30F00000000000000000000000000EE" type "lc" the following Line will be created S30F00000000000000000000000000EE02 TestCase for Making S5 Record ---- insert S30F00000000000000000000000000EE02 S30F00000000000000000000000000EE02 S30F00000000000000000000000000EE02 insert a new Line type "m5" the following Line will be created S5030003FC