Skip to content

Commit f7d3b74

Browse files
author
Frankie Robertson
committed
Adjust test_stateful_cat_item_bank_1d_dich_ib to test whole vec
1 parent c3f4eb8 commit f7d3b74

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/TestExt.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module TestExt
22

33
using Test
44
using ComputerAdaptiveTesting: Stateful
5-
using FittedItemBanks: AbstractItemBank, ItemResponse, resp
5+
using FittedItemBanks: AbstractItemBank, ItemResponse, resp_vec
66

77
export test_stateful_cat_1d_dich_ib, test_stateful_cat_item_bank_1d_dich_ib
88

@@ -103,8 +103,8 @@ function test_stateful_cat_item_bank_1d_dich_ib(
103103
end
104104
for i in 1:length(item_bank)
105105
for point in points
106-
cat_prob = Stateful.item_response_function(cat, i, true, point)
107-
ib_prob = resp(ItemResponse(item_bank, i), true, point)
106+
cat_prob = Stateful.item_response_functions(cat, i, point)
107+
ib_prob = resp_vec(ItemResponse(item_bank, i), point)
108108
@test cat_prob ib_prob rtol=margin
109109
end
110110
end

0 commit comments

Comments
 (0)