Skip to content

Commit

Permalink
adding test for Li(1000000,x)
Browse files Browse the repository at this point in the history
  • Loading branch information
Expander committed Nov 21, 2023
1 parent 804023e commit f1d0fe5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
37 changes: 19 additions & 18 deletions test/Li.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions test/data/Li1000000.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
0. 0. 0. 0.
1. 0. 1. 0.
0.9999500004166653 0.009999833334166664 0.9999500004166653 0.009999833334166664

0 comments on commit f1d0fe5

Please sign in to comment.