@Test
public void testInnerProduct() {

  BitSet a = new BitSet(8);
  a.set(0);
  a.set(5);
  a.set(7);
  BitSet b = new BitSet(8);
  b.set(0);
  b.set(5);
  Assert.assertFalse(BitSetUtils.innerProduct(a, b));
  b.set(1);
  Assert.assertFalse(BitSetUtils.innerProduct(a, b));
  b.set(7);
  Assert.assertTrue(BitSetUtils.innerProduct(a, b));
  BitSet c = new BitSet(10);
  Assert.assertFalse(BitSetUtils.innerProduct(a, c));
  c.set(10);
  Assert.assertFalse(BitSetUtils.innerProduct(a, c));
  c.set(0);
  Assert.assertTrue(BitSetUtils.innerProduct(a, c));
}