Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prbzrg committed Aug 4, 2023
1 parent 9cede58 commit bf4e13b
Showing 1 changed file with 0 additions and 56 deletions.
56 changes: 0 additions & 56 deletions test/call_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,6 @@
st = gdev(st)
end

@test !isnothing(ContinuousNormalizingFlows.n_augment(icnf, omode))
@test !isnothing(ContinuousNormalizingFlows.augmented_f(icnf, omode, st))
@test !isnothing(ContinuousNormalizingFlows.zeros_T_AT(resource, icnf, 1))
@test !isnothing(ContinuousNormalizingFlows.rand_T_AT(resource, icnf, rng, 1))
@test !isnothing(ContinuousNormalizingFlows.randn_T_AT(resource, icnf, rng, 1))
@test !isnothing(
ContinuousNormalizingFlows.rand_cstm_AT(resource, icnf, data_dist, rng, 1),
)
@test !isnothing(ContinuousNormalizingFlows.inference_prob(icnf, omode, r, ps, st))
@test !isnothing(ContinuousNormalizingFlows.generate_prob(icnf, omode, ps, st))

@test !isnothing(inference(icnf, omode, r, ps, st))
@test !isnothing(generate(icnf, omode, ps, st))

Expand Down Expand Up @@ -237,21 +226,6 @@
st = gdev(st)
end

@test !isnothing(ContinuousNormalizingFlows.n_augment(icnf, omode))
@test !isnothing(
ContinuousNormalizingFlows.augmented_f(icnf, omode, st, size(r_arr, 2)),
)
@test !isnothing(ContinuousNormalizingFlows.zeros_T_AT(resource, icnf, 1))
@test !isnothing(ContinuousNormalizingFlows.rand_T_AT(resource, icnf, rng, 1))
@test !isnothing(ContinuousNormalizingFlows.randn_T_AT(resource, icnf, rng, 1))
@test !isnothing(
ContinuousNormalizingFlows.rand_cstm_AT(resource, icnf, data_dist, rng, 1),
)
@test !isnothing(
ContinuousNormalizingFlows.inference_prob(icnf, omode, r_arr, ps, st),
)
@test !isnothing(ContinuousNormalizingFlows.generate_prob(icnf, omode, ps, st, 1))

@test !isnothing(inference(icnf, omode, r_arr, ps, st))
@test !isnothing(generate(icnf, omode, ps, st, 1))

Expand Down Expand Up @@ -405,19 +379,6 @@
st = gdev(st)
end

@test !isnothing(ContinuousNormalizingFlows.n_augment(icnf, omode))
@test !isnothing(ContinuousNormalizingFlows.augmented_f(icnf, omode, r2, st))
@test !isnothing(ContinuousNormalizingFlows.zeros_T_AT(resource, icnf, 1))
@test !isnothing(ContinuousNormalizingFlows.rand_T_AT(resource, icnf, rng, 1))
@test !isnothing(ContinuousNormalizingFlows.randn_T_AT(resource, icnf, rng, 1))
@test !isnothing(
ContinuousNormalizingFlows.rand_cstm_AT(resource, icnf, data_dist, rng, 1),
)
@test !isnothing(
ContinuousNormalizingFlows.inference_prob(icnf, omode, r, r2, ps, st),
)
@test !isnothing(ContinuousNormalizingFlows.generate_prob(icnf, omode, r2, ps, st))

@test !isnothing(inference(icnf, omode, r, r2, ps, st))
@test !isnothing(generate(icnf, omode, r2, ps, st))

Expand Down Expand Up @@ -570,23 +531,6 @@
st = gdev(st)
end

@test !isnothing(ContinuousNormalizingFlows.n_augment(icnf, omode))
@test !isnothing(
ContinuousNormalizingFlows.augmented_f(icnf, omode, r2_arr, st, size(r_arr, 2)),
)
@test !isnothing(ContinuousNormalizingFlows.zeros_T_AT(resource, icnf, 1))
@test !isnothing(ContinuousNormalizingFlows.rand_T_AT(resource, icnf, rng, 1))
@test !isnothing(ContinuousNormalizingFlows.randn_T_AT(resource, icnf, rng, 1))
@test !isnothing(
ContinuousNormalizingFlows.rand_cstm_AT(resource, icnf, data_dist, rng, 1),
)
@test !isnothing(
ContinuousNormalizingFlows.inference_prob(icnf, omode, r_arr, r2_arr, ps, st),
)
@test !isnothing(
ContinuousNormalizingFlows.generate_prob(icnf, omode, r2_arr, ps, st, 1),
)

@test !isnothing(inference(icnf, omode, r_arr, r2_arr, ps, st))
@test !isnothing(generate(icnf, omode, r2_arr, ps, st, 1))

Expand Down

0 comments on commit bf4e13b

Please sign in to comment.