diff --git a/tests/test_predicate.py b/tests/test_predicate.py index 6ef7d66..5b171f8 100644 --- a/tests/test_predicate.py +++ b/tests/test_predicate.py @@ -46,17 +46,22 @@ def setup_method(self): self.equal_to = EqualTo(self.left, self.right) def test_left(self): + """Test left getter.""" assert self.equal_to.left == self.left def test_right(self): + """Test right getter.""" assert self.equal_to.right == self.right def test_to_equal(self): + """Test to equal.""" other = EqualTo(self.left, self.right) assert self.equal_to == other def test_to_str(self): + """Test to string.""" assert str(self.equal_to) == f"(= {str(self.left)} {str(self.right)})" def test_to_repr(self): - assert repr(self.equal_to) == f"EqualTo({repr(self.left)}, {repr(self.right)})" \ No newline at end of file + """Test to repr.""" + assert repr(self.equal_to) == f"EqualTo({repr(self.left)}, {repr(self.right)})"