Some computer braille tests

- Test various methods of triggering computer braille
- Test comp6 in back-translation
diff --git a/tests/Makefile.am b/tests/Makefile.am
index ca51a8c..b4a7d7c 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -171,6 +171,7 @@
 	yaml/capsnocont.yaml			\
 	yaml/capsword_for_back.yaml		\
 	yaml/compbrlAtCursor_with_equals.yaml	\
+	yaml/computer_braille.yaml		\
 	yaml/emphasis-full.yaml			\
 	yaml/emphasis-no-context.yaml		\
 	yaml/example_test.yaml			\
diff --git a/tests/yaml/Makefile.am b/tests/yaml/Makefile.am
index 5f6345c..1c7a853 100644
--- a/tests/yaml/Makefile.am
+++ b/tests/yaml/Makefile.am
@@ -6,6 +6,7 @@
 	capsnocont.yaml				\
 	capsword_for_back.yaml			\
 	compbrlAtCursor_with_equals.yaml	\
+	computer_braille.yaml			\
 	broken_equals_operand.yaml		\
 	emphasis-full.yaml			\
 	emphasis-no-context.yaml		\
diff --git a/tests/yaml/computer_braille.yaml b/tests/yaml/computer_braille.yaml
new file mode 100644
index 0000000..c0734c4
--- /dev/null
+++ b/tests/yaml/computer_braille.yaml
@@ -0,0 +1,42 @@
+# Test various methods of triggering computer braille
+
+table: |
+  include tables/unicode-without-blank.dis
+  punctuation . 3
+  include tables/latinLetterDef6Dots.uti
+  include tables/braille-patterns.cti
+  compbrl www.
+  comp6 a 2
+  comp6 b 23
+  comp6 c 25
+  begcomp 456-346
+  endcomp 456-156
+
+tests:
+  # no computer braille
+  - - abc
+    - ⠁⠃⠉
+  # computer braille triggered by compbrl
+  - - www.abc
+    - ⠸⠬⠺⠺⠺⠄⠂⠆⠒⠸⠱
+  # computer braille triggered by typeform
+  # currently fails: see issue https://github.com/liblouis/liblouis/issues/622
+  - - abc abc abc
+    - ⠁⠃⠉ ⠸⠬⠂⠆⠒⠸⠱ ⠁⠃⠉
+    - typeform:
+        computer_braille: '    +++    '
+      xfail: true
+  # computer braille triggered by compbrlatcursor (apparently no begcompbrl or endcompbrl)
+  - - abc abc abc
+    - ⠁⠃⠉   ⠂⠆⠒   ⠁⠃⠉
+    - mode: [compbrlAtCursor]
+      cursorPos: 4
+
+# Test comp6 in back-translation
+# see issue https://github.com/liblouis/liblouis/issues/715
+
+flags: {testmode: backward}
+tests:
+  - - ⠁⠃⠉ ⠸⠬⠂⠆⠒⠸⠱ ⠁⠃⠉
+    - abc abc abc
+    - xfail: begcompbrl and endcompbrl are apparently consumed but not processed