diff --git a/common/web/types/tests/kmx/kmx-plus/element-string.tests.ts b/common/web/types/tests/kmx/kmx-plus/element-string.tests.ts index 55e5f20e28..8df97fcc29 100644 --- a/common/web/types/tests/kmx/kmx-plus/element-string.tests.ts +++ b/common/web/types/tests/kmx/kmx-plus/element-string.tests.ts @@ -145,6 +145,21 @@ describe('Test of ElementString', () => { ]; assert.deepEqual(actual, expected); }); + it.skip('can handle non-number in order string', () => { + const sections = { strs: new Strs() }; + sections.strs.allocString = stubStrsAllocString_Char; + const actual = ElementString.fromStrings( + sections, + "𐌰𐌱𐌲", + "1 A 3", + ); + const expected = [ + initElemElement(GOTHIC_A, undefined, 1), + initElemElement(GOTHIC_B, undefined, 0), + initElemElement(GOTHIC_C, undefined, 3), + ]; + assert.deepEqual(actual, expected); + }); it('can apply tertiary string', () => { const sections = { strs: new Strs() }; sections.strs.allocString = stubStrsAllocString_Char; @@ -193,6 +208,22 @@ describe('Test of ElementString', () => { ]; assert.deepEqual(actual, expected); }); + it.skip('can handle non-number in tertiary string', () => { + const sections = { strs: new Strs() }; + sections.strs.allocString = stubStrsAllocString_Char; + const actual = ElementString.fromStrings( + sections, + "𐌰𐌱𐌲", + null, + "1 A 3", + ); + const expected = [ + initElemElement(GOTHIC_A, undefined, 0, 1), + initElemElement(GOTHIC_B, undefined, 0, 0), + initElemElement(GOTHIC_C, undefined, 0, 3), + ]; + assert.deepEqual(actual, expected); + }); it('can apply tertiary_base string', () => { const sections = { strs: new Strs() }; sections.strs.allocString = stubStrsAllocString_Char;