Skip to content

Commit

Permalink
Put each SimpleItemBankSpec in its own test case
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier committed Oct 28, 2024
1 parent 2712cbc commit bf27fc7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/basic.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ function test_domain(item_bank; bound = 10)
test_bounds(domain[1], domain[2], bound)
end

@testcase "SimpleItemBankSpec constructable item banks" begin
for spec in iterate_simple_item_bank_specs()
item_bank = dummy(spec)
for spec in iterate_simple_item_bank_specs()
desc = spec_description_short(spec)
item_bank = dummy(spec)
@testcase "$desc" begin
test_item_bank(item_bank)
if item_bank isa NominalItemBank
continue # TODO
if !(item_bank isa NominalItemBank) # TODO
test_domain(item_bank)
end
test_domain(item_bank)
end
end

Expand Down

0 comments on commit bf27fc7

Please sign in to comment.