1. petermr
  2. amiocr

Commits

petermr  committed 5f14ce9

fixed tests

  • Participants
  • Parent commits f0518bb
  • Branches default

Comments (0)

Files changed (1)

File src/test/java/org/xmlcml/ocr/CharacterSignatureTest.java

View file
 	public void testCharacterSignatureA2Z() {
 		//................A...........E...........I...........M....N...........R...........V...........Z
 		int graph[] = {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,   1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,};
-		int edges[] = {0, 5, 3, 1, 1, 3, 3, 1, 5, 1, 1, 4, 1, 4,   3, 1, 2, 3, 6, 1, 3, 1, 1, 3, 4, 3, 1,};
-		int nodes[] = {0, 4, 2, 2, 0, 4, 4, 2, 6, 2, 2, 5, 2, 4,   3, 0, 2, 2, 4, 2, 4, 2, 2, 3, 5, 6, 2,};
+		int edges[] = {0, 5, 3, 1, 1, 3, 3, 1, 5, 1, 1, 4, 1, 4,   3, 1, 2, 3, 6, 1, 3, 1, 1, 3, 6, 5, 1,};
+		int nodes[] = {0, 4, 2, 2, 0, 4, 4, 2, 6, 2, 2, 5, 2, 4,   3, 0, 2, 2, 4, 2, 4, 2, 2, 3, 5, 4, 2,};
 		double size = 30.;
 		SVGG g = new SVGG();
 		for (int i = 1; i <= 26; i++) {