From 9500309d489f7888ecdf3283244c2ac83e28da67 Mon Sep 17 00:00:00 2001
From: Tomoyuki Ueda <tu@formalism.net>
Date: Sat, 8 Oct 2022 21:19:52 +0900
Subject: [PATCH] Add SJIS test

---
 test/unit/helper/sjis.test.js | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/test/unit/helper/sjis.test.js b/test/unit/helper/sjis.test.js
index c3c3f32..8300eac 100644
--- a/test/unit/helper/sjis.test.js
+++ b/test/unit/helper/sjis.test.js
@@ -14,5 +14,20 @@ test('SJIS from char', function (t) {
   t.equal(toSJIS('¬'), 0x81ca,
     'Should return correct SJIS value')
 
+  t.equal(toSJIS('≧'), 0x8186,
+    'Should return correct SJIS value')
+
+  t.equal(toSJIS('⊥'), 0x81db,
+    'Should return correct SJIS value')
+
+  t.equal(toSJIS('愛'), 0x88a4,
+    'Should return correct SJIS value')
+
+  t.equal(toSJIS('衣'), 0x88df,
+    'Should return correct SJIS value')
+
+  t.equal(toSJIS('蔭'), 0x88fc,
+    'Should return correct SJIS value')
+
   t.end()
 })