mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-31 23:27:43 +00:00
24 lines
423 B
Text
24 lines
423 B
Text
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
#import <XCTest/XCTest.h>
|
|
|
|
#import "onnxruntime/ort_env.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface ORTEnvTest : XCTestCase
|
|
@end
|
|
|
|
@implementation ORTEnvTest
|
|
|
|
- (void)testInitOk {
|
|
NSError* err = nil;
|
|
ORTEnv* env = [[ORTEnv alloc] initWithError:&err];
|
|
XCTAssertNotNil(env);
|
|
XCTAssertNil(err);
|
|
}
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|