Skip to content

Missing unit tests in arcade.math #2785

@DragonMoffon

Description

@DragonMoffon

Most of the methods in arcade.math are missing unit tests.

I also suspect many other functions in arcade are missing unit tests.

arcade.math function tests:

  • clamp
  • lerp
  • lerp_2d
  • lerp_3d
  • lerp_angle
  • rand_in_rect
  • rand_in_circle
  • rand_on_circle
  • rand_on_line
  • rand_angle_360_deg
  • rand_angle_spread_deg
  • rand_vec_spread_deg
  • rand_vec_magnitude
  • get_distance
  • rotate_point
  • get_angle_degrees
  • get_angle_radians
  • quaternion_rotation

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions