mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-08 10:20:41 +00:00
Fix unification test
This commit is contained in:
parent
d721fb1c33
commit
b558d3cbf5
@ -25,7 +25,7 @@ class UnificationTest {
|
||||
Deque<Constraint> constraints = new ArrayDeque<>();
|
||||
constraints.add(new Constraint(a, new FunctionType(b, c)));
|
||||
Deque<Constraint> initialConstraints = new ArrayDeque<>(constraints);
|
||||
Unification u = new Unification(constraints);
|
||||
Unification u = new Unification(new ArrayDeque<>(constraints));
|
||||
List<UnificationStep> steps = u.getUnificationSteps();
|
||||
assertEquals(2, steps.size());
|
||||
assertEquals(new UnificationStep(new Result<>(new ArrayList<>()),
|
||||
|
Loading…
Reference in New Issue
Block a user