You will need a font that allows you to distinguish Arabic characters.

numbers, european

same Test passes if the second line matches the reference graphic below the test.

one two ثلاثة four خمسة
one two ثلاثة 1234 خمسة
reference graphic

Assertion: A number takes on the direction of the surrounding text.

Notes:
In some versions of user agents, the fourth item in the second row will be rendered as ١٢٣٤ rather than 1234. It means the same.

= means you should check that the test and reference graphic look the same, except for font differences and cursive joining behavior. If they are different, use the addition instructional text to check for differences that are significant to the test.

Next test
html