From 6812a295c4b5dd98827e878441c81357faf83bf3 Mon Sep 17 00:00:00 2001 From: Anthony Lloyd Date: Sat, 27 Apr 2024 11:53:05 +0100 Subject: [PATCH] fix test not overflowing --- Tests/Allocator_Tests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Allocator_Tests.cs b/Tests/Allocator_Tests.cs index 9232ea5..d9bb4a1 100644 --- a/Tests/Allocator_Tests.cs +++ b/Tests/Allocator_Tests.cs @@ -420,7 +420,7 @@ public void Allocate_NegativeExample() public void Allocate_Exceptions() { Assert.Throws(() => Allocator.Allocate(0, [0.0, 0.0, 0.0])); - Assert.Throws(() => Allocator.Allocate(42, [1.0, -2.0, 1.0, 1e-30])); + Assert.Throws(() => Allocator.Allocate(42, [1.0, -2.0, 1.0, 1e-50])); } [Fact]