Skip to content

Commit

Permalink
test: update test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
psoukie committed Apr 27, 2024
1 parent af5ab8d commit 4c923e8
Show file tree
Hide file tree
Showing 7 changed files with 168 additions and 10 deletions.
1 change: 1 addition & 0 deletions _tests/bare.set
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ bare__first.out
bare__first_test.out
bare__raw-typing.out
bare__test.out
bare__interrupts.out
40 changes: 40 additions & 0 deletions _tests/bare__interrupts.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
*Interrupt*
~e
~s
~u
{Backspace 3}
{Text}this
*Interrupt*
~f
~r
~m
~Space
*Interrupt*
*Interrupt*
~,
~Space
~t
~e
~s
~t
*Interrupt*
*Interrupt*
~.
~n
{Backspace 2}
{Text}ing
~r
~o
{Backspace 2}
{Text}or
~t
~e
~s
~t
~g
*Interrupt*
~.
~n
{Backspace 2}
{Text}ing
~.
22 changes: 20 additions & 2 deletions _tests/chords-en-dvorak.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Note that the category headings are for orientation only. For extended character

See https://github.com/psoukie/zipchord for details.


Articles
--------
th the
Expand Down Expand Up @@ -215,11 +216,28 @@ Suffixes
.t ~tion
.l ~ly

Workarounds
-----------
Infixes
-------
.c ~.com~
.o ~.org~

Punctuation Exceptions
----------------------
These exceptions are used to correct the output when using smart spaces after punctuation.

. ~.~ Space+. forces a full stop without smart spaces
e . g . e.g.
i . e . i.e.
. 0 ~.0~
. 1 ~.1~
. 2 ~.2~
. 3 ~.3~
. 4 ~.4~
. 5 ~.5~
. 6 ~.6~
. 7 ~.7~
. 8 ~.8~
. 9 ~.9~

Newly added
-----------
Expand Down
1 change: 1 addition & 0 deletions _tests/default.set
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ default__raw-typing.out
default__test.out
default__chording.out
default__infix.out
default__interrupts.out
49 changes: 49 additions & 0 deletions _tests/default__interrupts.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
*Interrupt*
~e
~s
~u
{Backspace 3}
{Text}this
{Space}
*Interrupt*
~f
~r
~m
~Space
*Interrupt*
*Interrupt*
~,
{Space}
~Space
{Backspace}
~t
~e
~s
~t
*Interrupt*
*Interrupt*
~.
~n
{Backspace 2}
{Text}ing
{Space}
~r
~o
{Backspace 2}
{Text}or
{Space}
~t
~e
~s
~t
~g
*Interrupt*
~.
~n
{Backspace 2}
{Text}ing
{Space}
~.
{Backspace 2}
{Text}.
{Space}
57 changes: 57 additions & 0 deletions _tests/interrupts.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
0 *Interrupt*
1563 ~e
1578 ~s
1578 ~u
1719 ~e Up
1735 ~u Up
1766 ~s Up
4625 *Interrupt*
7266 ~f
7360 ~f Up
7391 ~r
7516 ~r Up
7610 ~m
7703 ~m Up
8266 ~Space
8375 ~Space Up
13172 *Interrupt*
14938 *Interrupt*
15360 ~,
15438 ~, Up
19266 ~Space
19360 ~Space Up
21313 ~t
21407 ~t Up
21422 ~e
21516 ~e Up
21578 ~s
21688 ~s Up
21797 ~t
21891 ~t Up
26641 *Interrupt*
27172 *Interrupt*
28344 ~.
28360 ~n
28500 ~. Up
28516 ~n Up
33407 ~r
33422 ~o
33578 ~r Up
33594 ~o Up
37250 ~t
37344 ~e
37360 ~t Up
37453 ~e Up
37469 ~s
37578 ~s Up
38000 ~t
38078 ~t Up
38360 ~g
38422 ~g Up
38969 *Interrupt*
39813 ~.
39813 ~n
39985 ~. Up
39985 ~n Up
41844 ~.
41907 ~. Up
8 changes: 0 additions & 8 deletions _tests/tempfile.in

This file was deleted.

0 comments on commit 4c923e8

Please sign in to comment.