Exemple #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Disabled("Comparing strings with higher than 16 bits code points is known to be inconsistent between StringValue and UTF8StringValue") @Test void shouldCompareToRandomString()
        internal virtual void ShouldCompareToRandomString()
        {
            for (int i = 0; i < 100; i++)
            {
                string string1 = Random.nextString();
                string string2 = Random.nextString();
                UTF8StringValueTest.AssertCompareTo(string1, string2);
            }
        }
Exemple #2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test void shouldCompareBasicMultilingualPlaneString()
        internal virtual void ShouldCompareBasicMultilingualPlaneString()
        {
            for (int i = 0; i < 100; i++)
            {
                string string1 = Random.nextBasicMultilingualPlaneString();
                string string2 = Random.nextBasicMultilingualPlaneString();
                UTF8StringValueTest.AssertCompareTo(string1, string2);
            }
        }