
checkDir()

@testset "File loading with compensation" begin
    _, data = loadFCS("test-compensation.fcs")
    @test isapprox(
        data[:, 7:18],
        [
            3332.2309256243007 8088.362793640517 538.3720631079816 144.5766025806829 -5.026619216289584 656.7371177910801 34824.02845241197 1939.2085663518994 268.10446790549787 7164.229365371252 1487.6587206861805 -103.62798381469148
            466.6162342252232 6100.635084662845 471.12011441761274 4270.515980761523 237.1142731684298 154.2816233797197 8063.704826604625 2363.291912539149 250.09636142954616 -5.275245824878045 546.3837818701431 7.180492945860638
            4988.506790656656 5836.121341276924 305.25138438318146 -78.2911490240366 -130.7712323646924 256.75533709823753 -28.969688160222205 2463.006063022074 -107.24661567025781 212.81623260036247 50.45721112838109 946.1078887373078
            2474.009284729641 3662.411462672774 499.30026183606464 217.49388411442334 273.06602846319055 102.19931337770262 195.20362476100473 2593.704979451791 1597.8609042177852 -99.00019479802567 326.5676563660152 2481.6467014782347
            3737.3002300540215 92.63719998587527 103.7345736486239 34.18875829231229 -23.820984710851445 71.25989624438593 492.24250044483324 934.9753295720772 -32.31068183338777 114.67958090123807 239.36797617353315 23.052151803822486
        ],
    )
end
