Example #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Disabled("we have decided to stick with String::compareTo under the hood which doesn't respect code point order " + "whenever the code point doesn't fit 16bits") @Test void shouldCompareToForAllValidStrings()
        internal virtual void ShouldCompareToForAllValidStrings()
        {
            for (int i = 0; i < ITERATIONS; i++)
            {
                assertConsistent(_random.nextString(), _random.nextString(), (t1, t2) => Math.Sign(t1.compareTo(t2)));
            }
        }