From 973479aa7fc254b887aed5fe6a57935648ee883c Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 31 May 2018 14:36:27 +0100 Subject: Check on modified files 'q'.Implemented 'W'.more tests.minor fixes --- tests/test_comment.ed | 6 ++++++ tests/test_ew.ed | 11 +++++++++++ tests/test_incr.ed | 3 +++ tests/test_mark.ed | 11 +++++++++++ tests/test_tm.ed | 3 +++ tests/testlist.txt | 3 +++ 6 files changed, 37 insertions(+) create mode 100644 tests/test_comment.ed create mode 100644 tests/test_ew.ed create mode 100644 tests/test_mark.ed (limited to 'tests') diff --git a/tests/test_comment.ed b/tests/test_comment.ed new file mode 100644 index 0000000..238d026 --- /dev/null +++ b/tests/test_comment.ed @@ -0,0 +1,6 @@ +# an example of a comment +1 +## another comment +## and another +10 +Q diff --git a/tests/test_ew.ed b/tests/test_ew.ed new file mode 100644 index 0000000..0b16d18 --- /dev/null +++ b/tests/test_ew.ed @@ -0,0 +1,11 @@ +4t1 +4m1 +e pippo.c +e pippo.c +5m3 +E pippo.c +w pippo.c +f pippo2.c +W pippo2.c +q +q diff --git a/tests/test_incr.ed b/tests/test_incr.ed index 7e7df29..e1408c0 100644 --- a/tests/test_incr.ed +++ b/tests/test_incr.ed @@ -14,5 +14,8 @@ 1++++++n 31+10+10 110+-++--10 + + + q q diff --git a/tests/test_mark.ed b/tests/test_mark.ed new file mode 100644 index 0000000..df53f50 --- /dev/null +++ b/tests/test_mark.ed @@ -0,0 +1,11 @@ +10ka +20kb +30kc +40kd +'a,'bn +'b,'dp +'c','bn +'a+3 +'b-4 +'c++-- +Q diff --git a/tests/test_tm.ed b/tests/test_tm.ed index 29603c5..a7d7061 100644 --- a/tests/test_tm.ed +++ b/tests/test_tm.ed @@ -5,10 +5,13 @@ .= 1,25n 22m10 +.= 1,30n 130,135m10 +.= 2,50n $m0 +.= ,n 5,7m31,2 q diff --git a/tests/testlist.txt b/tests/testlist.txt index 0756905..73a345c 100644 --- a/tests/testlist.txt +++ b/tests/testlist.txt @@ -4,3 +4,6 @@ test_incr.ed pippo.c test_insapp.ed pippo.c test_del.ed pippo.c test_tm.ed pippo.c +test_ew.ed pippo.c +test_comment.ed pippo.c +test_mark.ed pippo.c -- cgit v1.2.3