abracudabra.testing =================== .. py:module:: abracudabra.testing .. autoapi-nested-parse:: Assertions for testing purposes. Functions --------- .. autoapisummary:: abracudabra.testing.assert_tensors_equal abracudabra.testing.assert_arrays_equal abracudabra.testing.assert_frames_equal Module Contents --------------- .. py:function:: assert_tensors_equal(tensor1: torch.Tensor, tensor2: torch.Tensor, /) -> None Assert that two torch tensors are equal. .. py:function:: assert_arrays_equal(array1: abracudabra.annotations.Array, array2: abracudabra.annotations.Array, /) -> None Assert that two arrays are equal. .. py:function:: assert_frames_equal(frame1: abracudabra.annotations.Series | abracudabra.annotations.DataFrame, frame2: abracudabra.annotations.Series | abracudabra.annotations.DataFrame) -> None Assert that two pandas or cudf series or dataframes are equal.