示例#1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void nextAsciiString()
        public virtual void NextAsciiString()
        {
            for (int i = 0; i < ITERATIONS; i++)
            {
                TextValue textValue = RandomValues.nextAsciiTextValue(10, 20);
                string    asString  = textValue.StringValue();
                int       length    = asString.Length;
                assertThat(length, greaterThanOrEqualTo(10));
                assertThat(length, lessThanOrEqualTo(20));
            }
        }