File tree Expand file tree Collapse file tree
tests/OneBitSoftware.Utilities.OperationResultTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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+ }
You can’t perform that action at this time.
0 commit comments