示例#1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void nextBasicMultilingualPlaneTextValue()
        public virtual void NextBasicMultilingualPlaneTextValue()
        {
            for (int i = 0; i < ITERATIONS; i++)
            {
                TextValue value = RandomValues.nextBasicMultilingualPlaneTextValue();
                //make sure the value fits in 16bits, meaning that the size of the char[]
                //matches the number of code points.
                assertThat(value.Length(), equalTo(value.StringValue().Length));
            }
        }