def METHOD_NAME(coco_visiondata_test):
    res = calculate_metrics({'AveragePrecision': ObjectDetectionAveragePrecision()},
                            coco_visiondata_test)
    assert_that(res.keys(), has_length(1))
    assert_that(res['AveragePrecision'], has_length(80))