From Fedora Project Wiki

Revision as of 08:23, 22 August 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case ensures that the FriBidi library correctly handles bidirectional text (like Arabic or Hebrew). |setup= # Ensure `fribidi` is installed: ``sudo dnf install fribidi``. # You may want to have sample bidirectional text available for testing. An online resource or a previously prepared text file would suffice. |actions= # Open a terminal. # Use the command ``fribidi`` to process a string of bidirectional text. For example: ``echo "En...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case ensures that the FriBidi library correctly handles bidirectional text (like Arabic or Hebrew).

Setup

  1. Ensure fribidi is installed: sudo dnf install fribidi.
  2. You may want to have sample bidirectional text available for testing. An online resource or a previously prepared text file would suffice.

How to test

  1. Open a terminal.
  2. Use the command fribidi to process a string of bidirectional text. For example: echo "English فارسی English"

Expected Results

  1. The fribidi command should output text that respects the bidirectionality of the input string.
  2. English text should remain in its original order, but right-to-left languages like Arabic or Hebrew should appear reversed in the output.
  3. No errors should be thrown while processing the text.