Skip to content

Commit

Permalink
Added tests for floating point files and Accuri files
Browse files Browse the repository at this point in the history
  • Loading branch information
vogu66 committed Sep 28, 2022
1 parent 4965065 commit 1da72d0
Show file tree
Hide file tree
Showing 4 changed files with 878 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ uuid = "d76558cf-badf-52d4-a17e-381ab0b0d937"
version = "0.1.4"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"

[compat]
FileIO = "1"
Expand Down
14 changes: 14 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,18 @@ using Test, HTTP
rm("testdata/testLargeFile.fcs", force=true)
@info "Large file removed"
end

@testset "Loading float-encoded file" begin
flowrun = load("testdata/Attune.fcs")

@test length(flowrun["SSC-A"]) == 10000
@test flowrun["FSC-A"][2] == 12849.0f0
end

@testset "Loading Accuri file" begin
flowrun = load("testdata/BD_Accuri_C6.fcs")
@test length(flowrun["SSC-A"]) == 40000
@test flowrun["SSC-A"][2] == 911

end
end
Loading

0 comments on commit 1da72d0

Please sign in to comment.