def test_get_output_for_cropped(self, crop_layer):
        from numpy.testing import assert_array_almost_equal as aeq
        x0 = numpy.random.random((5, 3))
        x1 = numpy.random.random((4, 2))
        inputs = [theano.shared(x0),
                  theano.shared(x1)]
        result = crop_layer.get_output_for(inputs).eval()
        desired_result = x1[:4, :2] - 2*x0[:4, :2]
        aeq(result, desired_result)
dataset/ETHPy150Open Lasagne/Lasagne/lasagne/tests/layers/test_merge.py/TestElemwiseSumLayer.test_get_output_for_cropped/swapped operands of `-`