import pytest  # type: ignore

from ppb_vector import Vector2
from utils import *

@pytest.mark.parametrize('vector_like', UNIT_VECTOR_LIKES) # type: ignore
def test_convert_subclass(vector_like):
    class V(Vector2): pass

    # test_binop_vectorlike already checks the output value is correct
    assert isinstance(V.convert(vector_like), V)

Add a test for Vector2.convert
Add a test for Vector2.convert

See https://github.com/ppb/ppb-vector/pull/91#discussion_r241956449
