@Test
	public void testBittiInputStream() {
		try {
			BittiInputStream bis = new BittiInputStream(new FileInputStream("C:/Huffman-tmp/BittiOutputStream-test.out"));
			int a = bis.read(12);
			int b = bis.read(12);
			int c = bis.read(12);
			int d = bis.read(12);
			int e = bis.read(12);
			int f = bis.read(12);
			int g = bis.read(12);
			int h = bis.read(12);
			int i = bis.read(12);
		
			assertEquals(97, a);
			assertEquals(256, b);
			assertEquals(98, c);
			assertEquals(259, d);
			assertEquals(259, e);
			assertEquals(259, f);
			assertEquals(259, g);
			assertEquals(260, h);
			assertEquals(-1, i);
			bis.close();
		} catch (IOException ioe) {
			ioe.printStackTrace();
			fail("IOException");
		}
	}