diff --git a/test/runtests.jl b/test/runtests.jl index 33a292b..8b9a89f 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -12,6 +12,7 @@ end include("test_api.jl") include("test_types.jl") +include("test_checksums.jl") include("test_SpdxAnnotation.jl") include("test_SpdxLicense.jl") include("test_SpdxRelationship.jl") diff --git a/test/test_checksums.jl b/test/test_checksums.jl new file mode 100644 index 0000000..9a29b19 --- /dev/null +++ b/test/test_checksums.jl @@ -0,0 +1,4 @@ +@testset "checksums" begin + checksum= spdxchecksum("SHA1", pkgdir(SPDX), String["SPDX.spdx.json"], String[".git"]) + @test checksum isa Vector{UInt8} # No good way to indepently verify that the calculation is correct. +end \ No newline at end of file