From 7e4c08b03d59cc174cc8f5d59b8ec759a26dbd51 Mon Sep 17 00:00:00 2001 From: Tony-HYX <605698554@qq.com> Date: Sun, 10 Dec 2023 11:51:52 +0800 Subject: [PATCH] [FIX] update test cases in reasoning --- tests/test_reasoning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_reasoning.py b/tests/test_reasoning.py index 3651cc3..4a3137f 100644 --- a/tests/test_reasoning.py +++ b/tests/test_reasoning.py @@ -85,7 +85,7 @@ class TestPrologKB(object): assert kb_hed.logic_forward(inconsist_exs) is False def test_revise_at_idx(self, kb_add_prolog): - result = kb_add_prolog.revise_at_idx([1, 2], 2, [0]) + result = kb_add_prolog.revise_at_idx([1, 2], 2, [0.1, -0.2, 0.2, -0.3], [0]) assert result == [[0, 2]]