Skip to content

Commit

Permalink
fix(tests): used semantic_eq in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AurumTheEnd committed Oct 5, 2023
1 parent 08d682c commit ea60f4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/expressions/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ mod tests {
);
let actual = input.to_nnf();

assert_eq!(expected, actual)
assert!(expected.semantic_eq(&actual));
}

#[test]
Expand All @@ -199,7 +199,7 @@ mod tests {
);
let actual = input.to_nnf();

assert_eq!(expected, actual)
assert!(expected.semantic_eq(&actual));
}

#[test]
Expand All @@ -222,7 +222,7 @@ mod tests {
);
let actual = input.to_nnf();

assert_eq!(expected, actual)
assert!(expected.semantic_eq(&actual));
}

#[test]
Expand All @@ -236,7 +236,7 @@ mod tests {
);
let actual = Expression::distribute(input_left, input_right);

assert_eq!(expected, actual)
assert!(expected.semantic_eq(&actual));
}

#[test]
Expand Down

0 comments on commit ea60f4f

Please sign in to comment.