summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKatolaZ <[email protected]>2018-05-31 14:36:27 +0100
committerKatolaZ <[email protected]>2018-05-31 14:36:27 +0100
commit973479aa7fc254b887aed5fe6a57935648ee883c (patch)
tree791036edaccb2be9ed73514cf534bb41765ea344 /tests
parent00d893c8f8e742acc15e6675dec20c946dfb6fd7 (diff)
Check on modified files 'q'.Implemented 'W'.more tests.minor fixes
Diffstat (limited to 'tests')
-rw-r--r--tests/test_comment.ed6
-rw-r--r--tests/test_ew.ed11
-rw-r--r--tests/test_incr.ed3
-rw-r--r--tests/test_mark.ed11
-rw-r--r--tests/test_tm.ed3
-rw-r--r--tests/testlist.txt3
6 files changed, 37 insertions, 0 deletions
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