tests.core.physics package

Submodules

tests.core.physics.test_vector module

class tests.core.physics.test_vector.TestVector2D(methodName='runTest')

Bases: TestCase

rand_x: int = -45
rand_y: int = 18
test_as_pygame_vector()
test_as_tuple()
test_is_normalized()
test_length()
test_length_squared()
test_normalize()
test_normalize_raises()
test_vector_angle()
test_vector_clamp()
test_vector_clamp_raises()
test_vector_distance_between()
test_vector_distance_squared_between()
test_vector_from_pygame_vector()
test_vector_from_tuple()
test_vector_lerp()
test_vector_normalized()
test_vector_normalized_raises()
test_vector_reflect()
test_vector_reflect_raises()
test_vector_scaled()

Module contents