From 58adb69c44d147cc7d48eb59a74216cc8c01bb0e Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Thu, 23 Mar 2023 20:16:30 +0530 Subject: [PATCH] Removed unwanted iOS tests --- .../image_classifier/MPPImageClassifierTests.m | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/mediapipe/tasks/ios/test/vision/image_classifier/MPPImageClassifierTests.m b/mediapipe/tasks/ios/test/vision/image_classifier/MPPImageClassifierTests.m index e50fb1203..e09647b03 100644 --- a/mediapipe/tasks/ios/test/vision/image_classifier/MPPImageClassifierTests.m +++ b/mediapipe/tasks/ios/test/vision/image_classifier/MPPImageClassifierTests.m @@ -224,23 +224,6 @@ static NSString *const kExpectedErrorDomain = @"com.google.mediapipe.tasks"; }]]; } -// - (void)testCreateImageClassifierFailsWithInvalidMaxResults { -// MPPImageClassifierOptions *options = -// [self imageClassifierOptionsWithModelName:kFloatModelName]; -// options.maxResults = 0; - -// [self assertCreateImageClassifierWithOptions:options -// failsWithExpectedError: -// [NSError errorWithDomain:kExpectedErrorDomain -// code:MPPTasksErrorCodeInvalidArgumentError -// userInfo:@{ -// NSLocalizedDescriptionKey : -// @"INVALID_ARGUMENT: Invalid `max_results` -// option: " -// @"value must be > 0." -// }]]; -// } - - (void)testClassifyWithModelPathAndFloatModelSucceeds { MPPImageClassifier *imageClassifier = [self imageClassifierFromModelFileWithName:kFloatModelName];