Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write test for TeritorioCluster class #30

Open
1 of 7 tasks
wazolab opened this issue Nov 20, 2024 · 0 comments · May be fixed by #32
Open
1 of 7 tasks

Write test for TeritorioCluster class #30

wazolab opened this issue Nov 20, 2024 · 0 comments · May be fixed by #32
Assignees
Labels
test Write or update test files

Comments

@wazolab
Copy link
Member

wazolab commented Nov 20, 2024

Initialization

  • Test the constructor to ensure that all properties are initialized correctly.
  • Ensure that the map is set up and that event listeners for data and moveend are properly added.

Feature Selection (Pin Marker)

  • Test setSelectedFeature to ensure the feature is selected correctly.
  • Ensure that a pin marker is rendered at the feature’s coordinates when a point feature is selected.
  • Verify that an error is logged when attempting to select a feature that is not of type Point. (Maybe optional if we support Multipoint Check if Multipoint is supported #10 )
  • Ensure that the method can correctly select a feature inside a cluster.

Cluster Rendering

  • Verify that the cluster is rendered correctly depending on the zoom level.
@wazolab wazolab added the test Write or update test files label Nov 20, 2024
@wazolab wazolab self-assigned this Nov 20, 2024
@wazolab wazolab linked a pull request Nov 20, 2024 that will close this issue
wazolab added a commit that referenced this issue Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Write or update test files
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant