diff --git a/test/unit/helper/sjis.test.js b/test/unit/helper/sjis.test.js index c3c3f32b..8300eac4 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() })