test/com/google/javascript/rhino/JSDocInfoTest.java
/** Tests the assigned ordinal of the elements of the {@link JSDocInfo.Visibility} enum. */
Tests the assigned ordinal of the elements of the  JSDocInfo.Visibility enum.
Tests the assigned ordinal of the elements of the JSDocInfo . Visibility enum .
@Test
  public void testVisibilityOrdinal() {
    assertEquals(0, PRIVATE.ordinal());
    assertEquals(1, PACKAGE.ordinal());
    assertEquals(2, PROTECTED.ordinal());
    assertEquals(3, PUBLIC.ordinal());
  }
@ Test public void testVisibilityOrdinal ( ) { assertEquals ( 0 , PRIVATE . ordinal ( ) ) ; assertEquals ( 1 , PACKAGE . ordinal ( ) ) ; assertEquals ( 2 , PROTECTED . ordinal ( ) ) ; assertEquals ( 3 , PUBLIC . ordinal ( ) ) ; }
Tests the assigned ordinal of the elements of the {@link JSDocInfo.Visibility} enum.
Tests the assigned ordinal of the elements of the { @link JSDocInfo . Visibility } enum .