Skip to content

Unit Tests

Jos Denys edited this page Sep 7, 2021 · 5 revisions

C++ Unit Tests

In a good development tradition, we add unit tests for every Issue that has been fixed, and as a basis for new developments. Running the basic iKnowEngineTest program will call all available tests, in case of a failure, the program will halt and show the reason for failure. If rebuilding is needed, it is good practice to always run the iKnowEngineText program, as it also covers all languages.

Recently added are a test on the Normalizer method (test6) and the User Dictionary methods (test5)

For the new (v1.2) added ALI functionality :

  • ALI test (ALI)
  • Language Identification (Language)
  • Document versus Sentence ALI (ALI)