Browse Source

[FIX] update test cases in reasoning

pull/1/head
Tony-HYX 1 year ago
parent
commit
7e4c08b03d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/test_reasoning.py

+ 1
- 1
tests/test_reasoning.py View File

@@ -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]]




Loading…
Cancel
Save