From f1f72c9498ee6ad6874d5a14955263393c2cedcc Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <MichielCottaar@protonmail.com>
Date: Fri, 15 Nov 2024 16:39:35 +0000
Subject: [PATCH] Reduce stringency of tests

---
 test/test_sequences.jl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test_sequences.jl b/test/test_sequences.jl
index 0092f24..1c361fd 100644
--- a/test/test_sequences.jl
+++ b/test/test_sequences.jl
@@ -102,13 +102,13 @@
                 @test variables.duration(seq[1]) > 1.
                 for index in 1:9
                     if index in [2, 6, 8]
-                        @test abs(variables.duration(seq[index])) < 1e-6
+                        @test abs(variables.duration(seq[index])) < 1e-4
                     else
                         @test abs(variables.duration(seq[index])) > 1
                     end
                 end
                 @test variables.duration(seq[:gradient]) ≈ variables.duration(seq[:gradient2])
-                @test variables.bval(seq) ≈ 2. rtol=1e-6
+                @test variables.bval(seq) ≈ 2. rtol=1e-4
                 @test length(variables.readout_times(seq)) > 50
                 @test 67 < variables.TE(seq) < 68
                 @test 72 < variables.duration(seq) < 73
-- 
GitLab