onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Platforms/Android/PlatformTests.cs
Scott McKay 44fc7b443c
Update C# test projects (#21631)
### Description
<!-- Describe your changes. -->
Update various test projects to .net8 from EOL frameworks.
Replace the Xamarin based Android and iOS test projects with a MAUI
based project that uses .net 8.
Add new CoreML flags to C# bindings

### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
Remove usage of EOL frameworks.
2024-09-05 08:21:23 +10:00

16 lines
467 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.ML.OnnxRuntime.Tests.MAUI
{
public class PlatformTests
{
// All the 'AppendExecutionProvider' calls will throw if unsuccessful
[Fact(DisplayName = "EnableNNAPI")]
public void TestEnableNNAPI()
{
var opt = new SessionOptions();
opt.AppendExecutionProvider_Nnapi();
}
}
}