Skip to content

Potential discrepancy between tests and DerivedBidiClass.txt #143

@asibahi

Description

@asibahi

Hello

This section in the bmp tests seems to be in contradiction with the values in DerivedBidiClass.txt.

        // noncharacters
        assert_eq!(bidi_class('\u{FDD0}'), L);
        assert_eq!(bidi_class('\u{FDD1}'), L);
        assert_eq!(bidi_class('\u{FDEE}'), L);
        assert_eq!(bidi_class('\u{FDEF}'), L);
        assert_eq!(bidi_class('\u{FFFE}'), L);
        assert_eq!(bidi_class('\u{FFFF}'), L);

While in there:

FDD0..FDEF    ; BN # Cn  [32] <noncharacter-FDD0>..<noncharacter-FDEF>
# ...
FFFE..FFFF    ; BN # Cn   [2] <noncharacter-FFFE>..<noncharacter-FFFF>

I noticed the discrepancy when the tests in my zig port failed when I switched the data source to uucode. The discrepancy does not seem to have any impact at all as the conformance tests in BidiTest.txt and BidiCharacterTest.txt pass fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions