Skip to content

Add unit tests #10

@sahilshahpatel

Description

@sahilshahpatel

Add unit tests (and corresponding gamelog files). Dorian's initial listing is:

Moving characters in a line along an axis

  • Move down/left/right/up one time from starting coordinate.
  • Move down/left/right/up n times from any given initial coordinate.
  • Move down/left/right/up n times from random coordinate.

Moving characters in a line along a diagonal

  • Move in a diagonal based on a given quadrant one time from starting coordinate.
  • Move in a diagonal based on a given quadrant n times from starting coordinate.
  • Move in a diagonal based on a given quadrant n times from any given initial coordinate.
  • Move in a diagonal based on a given quadrant n times from random coordinate.

Hop distances diagonally or straight

  • Move down/left/right/up one time with a step size of k.
  • Move down/left/right/up n times with a step size of k.
  • Move diagonally based on a given quadrant one time with a step size of k.
  • Move diagonally based on a given quadrant n times with a step size of k.

Changing tilemaps

  • Fertility zone demonstration testing

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions