def test_confusion_matrix(self):

        result_len = rl.confusion_matrix(LINKS_TRUE, LINKS_PRED, len(FULL_INDEX))
        result_full_index = rl.confusion_matrix(LINKS_TRUE, LINKS_PRED, FULL_INDEX)
        expected = numpy.array([[1, 2], [3, 3]])

        numpy.testing.assert_array_equal(result_len, expected)
        numpy.testing.assert_array_equal(result_full_index, expected)