Ali Gholami Rudi <[email protected]> wrote:
> I'll try to make an automatic test when I get more spare time.  I did
> try using arabic.c directly, but realized a few simple dependencies.  I
> didn't find the time to have closer look but it didn't look very
> serious.

I've created a basic test (attached); it ignores composing chars for
now.  Files:

* input: contains a sample arabic text
* old: arabic.[hc] before changing it
* new: arabic.[hc] after changing
* runtest.sh: runs the test

runtests first uses the "old" folder to create the expected output.
Then it uses "new" folder to create the real output and finally compares
them.  As mentioned, it does not handle composing characters yet.

        Ali

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Attachment: vim_arabic_test.tar.gz
Description: Binary data

Raspunde prin e-mail lui