Skip to content

Commit

Permalink
fix test not overflowing
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyLloyd committed Apr 27, 2024
1 parent 3146886 commit 6812a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Allocator_Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ public void Allocate_NegativeExample()
public void Allocate_Exceptions()
{
Assert.Throws<Exception>(() => Allocator.Allocate(0, [0.0, 0.0, 0.0]));
Assert.Throws<Exception>(() => Allocator.Allocate(42, [1.0, -2.0, 1.0, 1e-30]));
Assert.Throws<Exception>(() => Allocator.Allocate(42, [1.0, -2.0, 1.0, 1e-50]));
}

[Fact]
Expand Down

0 comments on commit 6812a29

Please sign in to comment.