more
This commit is contained in:
parent
b069be6af0
commit
0cb819acf0
6 changed files with 6 additions and 6 deletions
|
@ -4,7 +4,7 @@
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
<PackageId>Pentole</PackageId>
|
<PackageId>Pentole</PackageId>
|
||||||
<Version>0.0.3</Version>
|
<Version>0.0.4</Version>
|
||||||
<Authors>Francesco Mecca</Authors>
|
<Authors>Francesco Mecca</Authors>
|
||||||
<Company>Bugless24</Company>
|
<Company>Bugless24</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
|
@ -2,7 +2,7 @@ namespace Pentole
|
||||||
|
|
||||||
open NUnit.Framework
|
open NUnit.Framework
|
||||||
|
|
||||||
module TestsExtensions =
|
module Assert =
|
||||||
let inline okEquals<'ok, 'err> (expected: 'ok) (got: Result<'ok, 'err>) =
|
let inline okEquals<'ok, 'err> (expected: 'ok) (got: Result<'ok, 'err>) =
|
||||||
match got with
|
match got with
|
||||||
| Ok got -> Assert.AreEqual (expected, got)
|
| Ok got -> Assert.AreEqual (expected, got)
|
||||||
|
|
|
@ -2,7 +2,7 @@ module Tests.BinaryPrefix
|
||||||
|
|
||||||
open NUnit.Framework
|
open NUnit.Framework
|
||||||
|
|
||||||
open Pentole.TestsExtensions
|
open Pentole.Assert
|
||||||
open Pentole.BinaryPrefix.Bits
|
open Pentole.BinaryPrefix.Bits
|
||||||
open Pentole.BinaryPrefix.Bytes
|
open Pentole.BinaryPrefix.Bytes
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@ module Tests.Path
|
||||||
open NUnit.Framework
|
open NUnit.Framework
|
||||||
|
|
||||||
open Pentole
|
open Pentole
|
||||||
open Pentole.TestsExtensions
|
open Pentole.Assert
|
||||||
open Pentole.Path
|
open Pentole.Path
|
||||||
|
|
||||||
[<Test>]
|
[<Test>]
|
||||||
|
|
|
@ -2,7 +2,7 @@ module Tests.Result
|
||||||
|
|
||||||
open NUnit.Framework
|
open NUnit.Framework
|
||||||
|
|
||||||
open Pentole.TestsExtensions
|
open Pentole.Assert
|
||||||
|
|
||||||
open Pentole
|
open Pentole
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ module Tests.String
|
||||||
|
|
||||||
open NUnit.Framework
|
open NUnit.Framework
|
||||||
|
|
||||||
open Pentole.TestsExtensions
|
open Pentole.Assert
|
||||||
open Pentole
|
open Pentole
|
||||||
|
|
||||||
[<Test>]
|
[<Test>]
|
||||||
|
|
Loading…
Reference in a new issue