Skip to content

Commit

Permalink
Bump coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveGilham committed Sep 11, 2023
1 parent 7c1934e commit 2446c0b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions altcode.test/validation/Xunit.fs
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,13 @@ module Xunit =
member this.Equals(x, y) = x = y
member this.GetHashCode(x) = x.GetHashCode() }

let hashmatch =
{ AssertionMatch.Create() with
Actual = doublecomp.GetHashCode(5.0)
Expected = (5.0).GetHashCode() }

AltAssert.Equal(hashmatch)

Assert.Throws<Xunit.Sdk.NotEqualException>(fun _ -> AltAssert.NotEqual(match1, doublecomp))
|> ignore

Expand Down

0 comments on commit 2446c0b

Please sign in to comment.