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

Testing mutable arrays #37

Open
josevalim opened this issue Sep 2, 2019 · 0 comments
Open

Testing mutable arrays #37

josevalim opened this issue Sep 2, 2019 · 0 comments

Comments

@josevalim
Copy link

Hi @elbow-jason! 👋

Nice meeting you at ElixirConf! I remember I mentioned to you that, because the existing ndarrays implementations are immutable, your code can be relying on immutable assumptions. So on the flight back home I actually thought of a simple we can easily test this: just wrap one of the existing immutable implementations in an Agent/GenServer! This could be something useful for you to run in your test suite. For instance, you could run the whole test suite multiple times, one time using the immutable and another the mutable one.

This may not be an issue, so feel free to close this!

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