def test_equality(self):
    ' Tests the equality operator.\n        '
    self.assertNotEqual(self.v1, self.v2)
    expected_result = Vector2D((- 1), 1)
    self.assertEqual(self.v2, expected_result)
Tests the equality operator.
def test_equality(self):
    ' \n        '
    self.assertNotEqual(self.v1, self.v2)
    expected_result = Vector2D((- 1), 1)
    self.assertEqual(self.v2, expected_result)