From bff39122d7773988c6108b4a8d497ffbeaa158b4 Mon Sep 17 00:00:00 2001 From: Alfred Wong Date: Wed, 14 Apr 2021 18:59:34 +0100 Subject: [PATCH] remove PR#108 tests --- test/testsets/GlassCat.jl | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/test/testsets/GlassCat.jl b/test/testsets/GlassCat.jl index 06794601c..64652c32c 100644 --- a/test/testsets/GlassCat.jl +++ b/test/testsets/GlassCat.jl @@ -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__, "..") @@ -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)