Skip to content

Commit 8f6051b

Browse files
Added the first test project
1 parent 4a400c8 commit 8f6051b

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
<ItemGroup>
10+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.2.0" />
11+
<PackageReference Include="xunit" Version="2.4.1" />
12+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
13+
<PrivateAssets>all</PrivateAssets>
14+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
15+
</PackageReference>
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<ProjectReference Include="..\..\src\OneBitSoftware.Utilities.OperationResult\OneBitSoftware.Utilities.OperationResult.csproj" />
20+
</ItemGroup>
21+
22+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using OneBitSoftware.Utilities;
2+
using Xunit;
3+
4+
namespace OneBitSoftware.Utilities.OperationResultTests
5+
{
6+
public class OperationResultTests
7+
{
8+
[Fact]
9+
public void NewOperationResult_ShouldSucced()
10+
{
11+
var operationResult = new OperationResult();
12+
13+
Assert.NotNull(operationResult);
14+
}
15+
}
16+
}

0 commit comments

Comments
 (0)