assertTrue(SGFPropertyName.AB.allowingRange());
assertFalse(SGFPropertyName.SZ.allowingRange());
}
public void testParse() {
SGFPropertyName n1 = SGFParser.parsePropertyName("SZ".toCharArray());
assertSame(SGFPropertyName.SZ, n1);
n1 = SGFParser.parsePropertyName("C".toCharArray());
assertSame(SGFPropertyName.C, n1);
char[] unknown = new char[]{'X', 'X'};
SGFPropertyName n2 = SGFParser.parsePropertyName(unknown);
assertTrue(equal(unknown, n2.toCharArray()));
SGFPropertyName n3 = SGFParser.parsePropertyName(unknown);
assertSame(n3, n2);
}