Libraryless. Click here for Pure Java version (181L/2K/6K).
1 | !7 |
2 | |
3 | p { |
4 | assertEquals(1, ocr_glyphCount("{symbol}")); |
5 | assertEquals(2, ocr_glyphCount("ab")); |
6 | assertEquals(1, ocr_glyphCount("[ab]")); |
7 | assertEquals(2, ocr_glyphCount("[ab] c")); |
8 | assertEquals("[a]", ocr_unescape("\\[a\\]")); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006258 |
Snippet name: | Test cases for OCR encoding |
Eternal ID of this version: | #1006258/1 |
Text MD5: | a3bfb7ab2f2801efdc3cf212a9bf6cdb |
Transpilation MD5: | f81c0a0216d408d727001b8b68ecf864 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-26 01:18:23 |
Source code size: | 241 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 471 / 573 |
Referenced in: | [show references] |