def test_that_ratingData_items_have_4_columns(): assert len(returnRatingData()[0]) == 4
def test_that_data_in_ratingDictionary_is_correct(): user = int(returnRatingData()[10][0]) movie = int(returnRatingData()[10][1]) rating = int(returnRatingData()[10][2]) assert ratingDictionary[movie][user-1] == rating
def test_that_ratingData_is_a_list(): assert isinstance(returnRatingData(), list)