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

Optimize tests for surfaces #42

Open
felenitaribeiro opened this issue Dec 14, 2023 · 0 comments
Open

Optimize tests for surfaces #42

felenitaribeiro opened this issue Dec 14, 2023 · 0 comments

Comments

@felenitaribeiro
Copy link
Contributor

When building tests to check whether surfaces were appropriately loaded, we noticed that it takes a little while to detect them. Currently, we have to load two surfaces to change the state of whether a surface was loaded and then be able to test for the loading by checking the output about the number of points/nodes as in:

${isMesh.value? getNumberOfPoints(nvArraySelected.value[0]): 'No mesh'}

in the niivue/src/components/Menu.ts file.

The same problem happens with the surface overlay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant