From c86dca12ff014919e15a6c7dfa75836a83a4c918 Mon Sep 17 00:00:00 2001 From: Joshua Lampert Date: Tue, 13 Feb 2024 20:38:42 +0100 Subject: [PATCH] use old formatting style again --- test/test_unit.jl | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/test/test_unit.jl b/test/test_unit.jl index e0c072c5..826c560a 100644 --- a/test/test_unit.jl +++ b/test/test_unit.jl @@ -99,7 +99,8 @@ using SparseArrays: sparse, SparseMatrixCSC equations = @test_nowarn BBMBBMEquations1D(gravity_constant = 9.81, D = 2.0) @test_nowarn print(equations) @test_nowarn display(equations) - conversion_functions = [waterheight_total, + conversion_functions = [ + waterheight_total, waterheight, velocity, momentum, @@ -107,7 +108,8 @@ using SparseArrays: sparse, SparseMatrixCSC entropy, energy_total, prim2cons, - prim2prim] + prim2prim + ] for conversion in conversion_functions @test DispersiveShallowWater.varnames(conversion, equations) isa Tuple end @@ -126,7 +128,8 @@ using SparseArrays: sparse, SparseMatrixCSC equations = @test_nowarn BBMBBMVariableEquations1D(gravity_constant = 9.81) @test_nowarn print(equations) @test_nowarn display(equations) - conversion_functions = [waterheight_total, + conversion_functions = [ + waterheight_total, waterheight, velocity, momentum, @@ -134,7 +137,8 @@ using SparseArrays: sparse, SparseMatrixCSC entropy, energy_total, prim2cons, - prim2prim] + prim2prim + ] for conversion in conversion_functions @test DispersiveShallowWater.varnames(conversion, equations) isa Tuple end @@ -156,7 +160,8 @@ using SparseArrays: sparse, SparseMatrixCSC gamma = 0.15707070707070708) @test_nowarn print(equations) @test_nowarn display(equations) - conversion_functions = [waterheight_total, + conversion_functions = [ + waterheight_total, waterheight, velocity, momentum, @@ -166,7 +171,8 @@ using SparseArrays: sparse, SparseMatrixCSC prim2cons, prim2prim, energy_total_modified, - entropy_modified] + entropy_modified + ] for conversion in conversion_functions @test DispersiveShallowWater.varnames(conversion, equations) isa Tuple end