Removed unwanted iOS tests
This commit is contained in:
parent
8682a3ffd9
commit
58adb69c44
|
@ -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 {
|
- (void)testClassifyWithModelPathAndFloatModelSucceeds {
|
||||||
MPPImageClassifier *imageClassifier = [self imageClassifierFromModelFileWithName:kFloatModelName];
|
MPPImageClassifier *imageClassifier = [self imageClassifierFromModelFileWithName:kFloatModelName];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user