Removed unwanted iOS tests

This commit is contained in:
Prianka Liz Kariat 2023-03-23 20:16:30 +05:30
parent 8682a3ffd9
commit 58adb69c44

View File

@ -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];