From 66402840d618b1f1330cdc4eab91f67e0d8993a9 Mon Sep 17 00:00:00 2001
From: Claudio Matsuoka <cmatsuoka@gmail.com>
Date: Tue, 29 May 2012 15:41:29 -0300
Subject: [PATCH] Add uskata and jis0201 regression tests

---
 run-tests.sh     | 2 ++
 tests/res025.txt | 8 ++++++++
 tests/res026.txt | 8 ++++++++
 3 files changed, 18 insertions(+)
 create mode 100644 tests/res025.txt
 create mode 100644 tests/res026.txt

diff --git a/run-tests.sh b/run-tests.sh
index a52ae16..372278c 100755
--- a/run-tests.sh
+++ b/run-tests.sh
@@ -72,6 +72,8 @@ run_test 021 "paragraph mode long line output" "$cmd -p -w250"
 run_test 022 "short line output" "$cmd -w5"
 run_test 023 "kerning paragraph centered mode (small)" "$cmd -kpc -fsmall"
 run_test 024 "list of control files" "ls fonts/*flc"
+run_test 025 "uskata control file" "printf 'ABCDE'|$CMD -fbanner -Cuskata"
+run_test 026 "jis0201 control file" "printf '\xB1\xB2\xB3\xB4\xB5'|$CMD -fbanner -Cjis0201"
 
 rm -f "$OUTPUT"
 
diff --git a/tests/res025.txt b/tests/res025.txt
new file mode 100644
index 0000000..12b3f95
--- /dev/null
+++ b/tests/res025.txt
@@ -0,0 +1,8 @@
+##########       ##     #                        #   
+      ###      ##   ##########   #######  ########## 
+     #       ## #   #        #      #           ##   
+    #      ##   #          ##       #         ## #   
+   #            #        ##         #       ##   #   
+  #             #      ##           #     ##    ##   
+ #              #    ##        ##########        #   
+                                                     
diff --git a/tests/res026.txt b/tests/res026.txt
new file mode 100644
index 0000000..12b3f95
--- /dev/null
+++ b/tests/res026.txt
@@ -0,0 +1,8 @@
+##########       ##     #                        #   
+      ###      ##   ##########   #######  ########## 
+     #       ## #   #        #      #           ##   
+    #      ##   #          ##       #         ## #   
+   #            #        ##         #       ##   #   
+  #             #      ##           #     ##    ##   
+ #              #    ##        ##########        #   
+