onnxruntime/csharp/test/Microsoft.ML.OnnxRuntime.Tests.MAUI/Platforms/Windows/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

18 lines
493 B
C#

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
namespace Microsoft.ML.OnnxRuntime.Tests.MAUI
{
public class PlatformTests
{
// Semi-random test to check we can add an EP
[Fact(DisplayName = "CPU_EP_NoArena")]
public void TestEnableCpuEPWithNoArena()
{
var opt = new SessionOptions();
int useArena = 0;
opt.AppendExecutionProvider_CPU(useArena);
}
}
}