From f1d0fe54837394589bdf6ca63774976203728dee Mon Sep 17 00:00:00 2001 From: Alexander Voigt Date: Tue, 21 Nov 2023 22:05:04 +0100 Subject: [PATCH] adding test for Li(1000000,x) --- test/Li.jl | 37 +++++++++++++++++++------------------ test/data/Li1000000.txt | 3 +++ 2 files changed, 22 insertions(+), 18 deletions(-) create mode 100644 test/data/Li1000000.txt diff --git a/test/Li.jl b/test/Li.jl index 7c40b6b..bb35d85 100644 --- a/test/Li.jl +++ b/test/Li.jl @@ -5,24 +5,25 @@ end @testset "li" begin nis = ( - Ni(-10, 1e-09), - Ni( -9, 1e-10), - Ni( -8, 1e-10), - Ni( -7, 1e-12), - Ni( -6, 1e-12), - Ni( -5, 1e-10), - Ni( -4, 1e-13), - Ni( -3, 1e-13), - Ni( -2, 1e-13), - Ni( -1, 1e-14), - Ni( 0, 1e-14), - Ni( 1, 1e-14), - Ni( 2, 1e-14), - Ni( 3, 1e-14), - Ni( 4, 1e-14), - Ni( 5, 1e-14), - Ni( 6, 1e-14), - Ni(100, 1e-14) + Ni( -10, 1e-09), + Ni( -9, 1e-10), + Ni( -8, 1e-10), + Ni( -7, 1e-12), + Ni( -6, 1e-12), + Ni( -5, 1e-10), + Ni( -4, 1e-13), + Ni( -3, 1e-13), + Ni( -2, 1e-13), + Ni( -1, 1e-14), + Ni( 0, 1e-14), + Ni( 1, 1e-14), + Ni( 2, 1e-14), + Ni( 3, 1e-14), + Ni( 4, 1e-14), + Ni( 5, 1e-14), + Ni( 6, 1e-14), + Ni( 100, 1e-14), + Ni(1000000, 1e-14) ) for ni in nis diff --git a/test/data/Li1000000.txt b/test/data/Li1000000.txt new file mode 100644 index 0000000..da5a8b5 --- /dev/null +++ b/test/data/Li1000000.txt @@ -0,0 +1,3 @@ +0. 0. 0. 0. +1. 0. 1. 0. +0.9999500004166653 0.009999833334166664 0.9999500004166653 0.009999833334166664