From 2c96688615eed0090d179a573f06cc25b4883063 Mon Sep 17 00:00:00 2001 From: Raphael-Tresor <40422324+Raphael-Tresor@users.noreply.github.com> Date: Thu, 2 Oct 2025 15:35:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Auto-format=20Julia=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/approximations/unscented_tests.jl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/approximations/unscented_tests.jl b/test/approximations/unscented_tests.jl index 660cc893f..3f43c0d7a 100644 --- a/test/approximations/unscented_tests.jl +++ b/test/approximations/unscented_tests.jl @@ -80,7 +80,6 @@ @test all(approximate(Unscented(), (x) -> x .- [1, 1], (1.0,), (1.0,)) .≈ ([0.0, 0.0], [1.0 1.0; 1.0 1.0])) @test all(approximate(Unscented(), (x) -> [x^2, x], (1.0,), (1.0,)) .≈ ([2.0, 1.0], [6.0 2.0; 2.0 1.0])) end - end @testitem "Unscented approximation method" begin @@ -88,9 +87,8 @@ end import ReactiveMP: Unscented, unscented_statistics, approximate - @testset "Unscented approximate input edge cases" begin - @test_throws DomainError approximate(Unscented(), (x) -> x + 1.0 , (1.0,), (Inf,)) + @test_throws DomainError approximate(Unscented(), (x) -> x + 1.0, (1.0,), (Inf,)) @test all(approximate(Unscented(), (x) -> x + 1.0, (1.0,), (0.0,) .≈ (2.0, 0.0))) @test all(approximate(Unscented(), (x) -> [x^2, x], (2.0,), (0.0,)) .≈ ([4.0, 2.0], [0.0 0.0; 0.0 0.0])) @test all(approximate(Unscented(), (x) -> x + 1.0, (NaN,), (1.0,) .≈ (NaN, NaN)))