Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
remove PR#108 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredclwong committed Apr 14, 2021
1 parent 95fabe3 commit bff3912
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions test/testsets/GlassCat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
@test isempty(detect_ambiguities(GlassCat))
@test isempty(detect_unbound_args(GlassCat))

ROOT_DIR = joinpath(@__DIR__, "..", "..")
GLASSCAT_DIR = joinpath(ROOT_DIR, "src", "GlassCat")
include(joinpath(GLASSCAT_DIR, "GlassTypes.jl"))
include(joinpath(GLASSCAT_DIR, "generate.jl"))
include(joinpath("..", "..", "src", "GlassCat", "GlassTypes.jl"))
include(joinpath(@__DIR__, "..", "..", "deps", "generate.jl"))

CATALOG_NAME = "TEST_CAT"
SOURCE_DIR = joinpath(@__DIR__, "..")
Expand All @@ -39,18 +37,6 @@

cat = Dict()

@testset "Build Tests" begin
# check that all automatic downloads are working
include(joinpath(ROOT_DIR, "src", "GlassCat", "constants.jl"))
for catname in split("HOYA NIKON OHARA SCHOTT Sumita")
agffile = joinpath(AGF_DIR, catname * ".agf")
@test isfile(agffile)
end

# check that particularly problematic glasses are parsing correctly
@test !isnan(OpticSim.GlassCat.NIKON.LLF6.C10)
end

@testset "Parsing Tests" begin
cat = sourcefile_to_catalog(SOURCE_FILE)

Expand Down

0 comments on commit bff3912

Please sign in to comment.