Skip to content

Commit 1013e22

Browse files
author
Edi Muskardin
committed
remove dangling oracle
1 parent b55152a commit 1013e22

File tree

2 files changed

+5
-124
lines changed

2 files changed

+5
-124
lines changed

aalpy/oracles/WMethodEqOracle.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from aalpy.base.SUL import SUL
55
from itertools import product
66

7+
78
class WMethodEqOracle(Oracle):
89
"""
910
Equivalence oracle based on characterization set/ W-set. From 'Tsun S. Chow. Testing software design modeled by
@@ -45,18 +46,17 @@ def test_suite(self, cover, depth, char_set):
4546
for (s, c) in product(cover, char_set):
4647
yield s + m + c
4748

48-
4949
def find_cex(self, hypothesis):
5050

5151
if not hypothesis.characterization_set:
5252
hypothesis.characterization_set = hypothesis.compute_characterization_set()
5353

5454
# covers every transition of the specification at least once.
5555
transition_cover = [
56-
state.prefix + (letter,)
57-
for state in hypothesis.states
58-
for letter in self.alphabet
59-
]
56+
state.prefix + (letter,)
57+
for state in hypothesis.states
58+
for letter in self.alphabet
59+
]
6060

6161
depth = self.m + 1 - len(hypothesis.states)
6262
for seq in self.test_suite(transition_cover, depth, hypothesis.characterization_set):

aalpy/oracles/WpMethodOther.py

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)