-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- letter π‘ in Aramaic to Arabic Ψ· (#22)
## [0.3.3] 2024-01-20 ### Fixed - letter π‘ in Aramaic to Arabic Ψ· - add unit test to the above
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
packages/abjad-convert/test/imperialAramaic/toArabic.test.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { describe, expect, it } from '@jest/globals' | ||
import { ImperialAramaicToArabicConverter } from '../../src/scripts/imperialAramaic/toArabic' | ||
|
||
describe('ImperialAramaicToArabicConverter', () => { | ||
describe('convert()', () => { | ||
it('convert π‘π‘π‘π‘π‘π‘ π‘ to Ψ§Ψ¨Ψ¬Ψ―ΩΩΨ²', () => { | ||
const converter = new ImperialAramaicToArabicConverter() | ||
const actual = converter.convert('π‘π‘π‘π‘π‘π‘ π‘') | ||
expect(actual).toEqual('Ψ§Ψ¨Ψ¬Ψ―ΩΩΨ²') | ||
}) | ||
it('convert π‘π‘π‘π‘π‘π‘π‘ to ΨΨ·ΩΩΩΩ Ω', () => { | ||
const converter = new ImperialAramaicToArabicConverter() | ||
const actual = converter.convert('π‘π‘π‘π‘π‘π‘π‘') | ||
expect(actual).toEqual('ΨΨ·ΩΩΩΩ Ω') | ||
}) | ||
it('convert π‘π‘π‘π‘π‘π‘π‘π‘ to Ψ³ΨΉΩΨ΅ΩΨ±Ψ΄Ψͺ', () => { | ||
const converter = new ImperialAramaicToArabicConverter() | ||
const actual = converter.convert('π‘π‘π‘π‘π‘π‘π‘π‘') | ||
expect(actual).toEqual('Ψ³ΨΉΩΨ΅ΩΨ±Ψ΄Ψͺ') | ||
}) | ||
}) | ||
}) |