public void testMONAChatToCharSet() {
		char[] oneChar = new char[8];
		for (int i = 0; i < 7; i++)
			oneChar[i] = '0';
		oneChar[7] = '1';
		char[] result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 1);
		assertEquals(result[0], (char)1);
		
		oneChar = new char[8];
		for (int i = 0; i < 7; i++)
			oneChar[i] = '0';
		oneChar[7] = 'x';
		result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 2);
		assertEquals(result[0], 0);
		assertEquals(result[1], (char)1);
		
		oneChar = new char[8];
		for (int i = 1; i < 8; i++)
			oneChar[i] = '0';
		oneChar[0] = 'x';
		result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 2);
		assertEquals(result[0], (char)0);
		assertEquals(result[1], (char)128);
		
		oneChar = new char[8];
		for (int i = 1; i < 4; i++)
			oneChar[i] = '0';
		for (int i = 5; i < 8; i++)
			oneChar[i] = '0';
		oneChar[0] = 'x';
		oneChar[4] = 'x';
		result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 4);
		assertEquals(result[0], (char)0);
		assertEquals(result[1], (char)8);
		assertEquals(result[2], (char)128);
		assertEquals(result[3], (char)136);
		
		oneChar = new char[8];
		for (int i = 1; i < 4; i++)
			oneChar[i] = '0';
		for (int i = 5; i < 8; i++)
			oneChar[i] = '1';
		oneChar[0] = 'x';
		oneChar[4] = 'x';
		result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 4);
		assertEquals(result[0], (char)7);
		assertEquals(result[1], (char)15);
		assertEquals(result[2], (char)135);
		assertEquals(result[3], (char)143);
		
		oneChar = new char[8];
		for (int i = 0; i < 8; i++)
			oneChar[i] = 'x';
		result = visitor.MONACharToCharSet(oneChar, 0);
		assertEquals(result.length, 256);
		assertEquals(result[0], (char)0);
		assertEquals(result[1], (char)1);
		assertEquals(result[128], (char)128);
		assertEquals(result[255], (char)255);
		assertEquals(result[87], 'W');
	}