import ppb_vector

def test_equal():
  test_vector_1 = ppb_vector.Vector2(50, 800)
  test_vector_2 = ppb_vector.Vector2(50, 800)

  assert test_vector_1 == test_vector_2

def test_not_equal():
  test_vector_1 = ppb_vector.Vector2(800, 800)
  test_vector_2 = ppb_vector.Vector2(50, 800)

  assert test_vector_1 != test_vector_2

from hypothesis import given
from ppb_vector import Vector2
from utils import vectors

def test_equal():
  test_vector_1 = Vector2(50, 800)
  test_vector_2 = Vector2(50, 800)

  assert test_vector_1 == test_vector_2


@given(x=vectors(), y=vectors())
def test_not_equal_equivalent(x: Vector2, y: Vector2):
  assert (x != y) == (not x == y)

Replace test for != with an Hypothesis test
tests/equality: Replace test for != with an Hypothesis test

- import ppb_vector
+ from hypothesis import given
+ from ppb_vector import Vector2
+ from utils import vectors
  
  def test_equal():
-   test_vector_1 = ppb_vector.Vector2(50, 800)
+   test_vector_1 = Vector2(50, 800)
-   test_vector_2 = ppb_vector.Vector2(50, 800)
+   test_vector_2 = Vector2(50, 800)
  
    assert test_vector_1 == test_vector_2
  
- def test_not_equal():
-   test_vector_1 = ppb_vector.Vector2(800, 800)
-   test_vector_2 = ppb_vector.Vector2(50, 800)
  
-   assert test_vector_1 != test_vector_2
+ @given(x=vectors(), y=vectors())
+ def test_not_equal_equivalent(x: Vector2, y: Vector2):
+   assert (x != y) == (not x == y)
  
Replace test for != with an Hypothesis test
## Code Before:
import ppb_vector

def test_equal():
  test_vector_1 = ppb_vector.Vector2(50, 800)
  test_vector_2 = ppb_vector.Vector2(50, 800)

  assert test_vector_1 == test_vector_2

def test_not_equal():
  test_vector_1 = ppb_vector.Vector2(800, 800)
  test_vector_2 = ppb_vector.Vector2(50, 800)

  assert test_vector_1 != test_vector_2

## Instruction:
Replace test for != with an Hypothesis test
## Code After:
from hypothesis import given
from ppb_vector import Vector2
from utils import vectors

def test_equal():
  test_vector_1 = Vector2(50, 800)
  test_vector_2 = Vector2(50, 800)

  assert test_vector_1 == test_vector_2


@given(x=vectors(), y=vectors())
def test_not_equal_equivalent(x: Vector2, y: Vector2):
  assert (x != y) == (not x == y)
