3 # The author disclaims copyright to this source code. In place of
4 # a legal notice, here is a blessing:
6 # May you do good and not evil.
7 # May you find forgiveness for yourself and forgive others.
8 # May you share freely, never taking more than you give.
10 #***********************************************************************
13 set testdir [file dirname $argv0]
14 source $testdir/tester.tcl
15 set testprefix spellfix3
17 ifcapable !vtab { finish_test ; return }
19 load_static_extension db spellfix
22 SELECT spellfix1_scriptcode('And God said, “Let there be light”');
25 SELECT spellfix1_scriptcode('Бог сказал: "Да будет свет"');
28 SELECT spellfix1_scriptcode('και ειπεν ο θεος γενηθητω φως και εγενετο φως');
31 SELECT spellfix1_scriptcode('וַיֹּ֥אמֶר אֱלֹהִ֖ים יְהִ֣י א֑וֹר וַֽיְהִי־אֽוֹר׃');
34 SELECT spellfix1_scriptcode('فِي ذَلِكَ الوَقتِ، قالَ اللهُ: لِيَكُنْ نُورٌ. فَصَارَ نُورٌ.');
37 SELECT spellfix1_scriptcode('+3.14159');
40 SELECT spellfix1_scriptcode('And God said: "Да будет свет"');
43 SELECT spellfix1_scriptcode('+3.14159 light');
46 SELECT spellfix1_scriptcode('+3.14159 свет');
49 SELECT spellfix1_scriptcode('וַיֹּ֥אמֶר +3.14159');