@Test
public void testAnd() {

    NinjaMatrix w1 = new NinjaMatrix(1, 3, true, -15, 10, 10);
    Network net = new Network(w1);
    assertTrue(isZero(net.apply(0, 0)));
    assertTrue(isZero(net.apply(0, 1)));
    assertTrue(isZero(net.apply(1, 0)));
    assertTrue(isOne(net.apply(1, 1)));
}