def test_combine_xor(self): """This function tests the xor combiner function with one pair of input and output.""" assert_array_equal( LTFArray.combiner_xor( [ [1., 1., -3., 1.], [-1., -1., -1., 1.], [-2., -2., 2., 1.] ] ), [ -3., -1., 8. ] )
def test_combine_xor(self): assert_array_equal( LTFArray.combiner_xor([[1, 1, -3, 1], [-1, -1, -1, 1], [-2, -2, 2, 1]]), [-3, -1, 8])