@@ -0,0 +1,773 @@
+import numpy.testing%0A%0Aimport xchainer%0A%0A# NumPy-like assertion functions that accept both NumPy and xChainer arrays%0A%0A%0Adef assert_array_equal(x, y, err_msg='', verbose=True):%0A    %22%22%22Raises an AssertionError if two array_like objects are not equal.%0A    Args:%0A         x(numpy.ndarray or xchainer.Array): The actual object to check.%0A         y(numpy.ndarray or xchainer.Array): The desired, expected object.%0A         err_msg(str): The error message to be printed in case of failure.%0A         verbose(bool): If %60%60True%60%60, the conflicting values%0A             are appended to the error message.%0A    .. seealso:: :func:%60numpy.testing.assert_array_equal%60%0A    %22%22%22%0A    numpy.testing.assert_array_equal(%0A        numpy.array(x), numpy.array(y), err_msg=err_msg,%0A        verbose=verbose)%0A

Add assert_array_equal