35 lines
693 B
C#
35 lines
693 B
C#
// Copyright (c) .NET Foundation and contributors. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
using System;
|
|
using Xunit;
|
|
|
|
namespace TestNamespace
|
|
{
|
|
public class VSTestXunitTests
|
|
{
|
|
[Fact]
|
|
public void VSTestXunitPassTest()
|
|
{
|
|
}
|
|
|
|
[Fact]
|
|
public void VSTestXunitFailTest()
|
|
{
|
|
Assert.Equal(1, 2);
|
|
}
|
|
|
|
#if DESKTOP
|
|
[Fact]
|
|
public void VSTestXunitPassTestDesktop()
|
|
{
|
|
}
|
|
#else
|
|
[Fact]
|
|
public void VSTestXunitFailTestNetCoreApp()
|
|
{
|
|
Assert.Equal(1, 2);
|
|
}
|
|
#endif
|
|
}
|
|
}
|