computablee / DotMP

A collection of powerful abstractions for parallel programming in .NET with an OpenMP-like API.
https://computablee.github.io/DotMP/
GNU Lesser General Public License v2.1
29 stars 8 forks source link

Need Unit Tests #1

Closed computablee closed 1 year ago

computablee commented 1 year ago

Currently we just have a single function that tests the code. We need actual unit testing. Any contribution to this would be appreciated. I am open to using .NET-specific unit testing libraries. If you want to incorporate a library, run it by me first so I can approve/deny before you start doing any heavy work!

rahul-s-bhatt commented 1 year ago

@computablee this repository looks fun! How about using nunit or xunit frameworks?

computablee commented 1 year ago

@rahul-s-bhatt xUnit looks like a good choice, would you like to be assigned to this issue?

MaurizioPz commented 1 year ago

@computablee if @rahul-s-bhatt is not working on it I volunteer to work on it. Please assign it to me if that's the case

computablee commented 1 year ago

@MaurizioPz Assigned, thank you!

MaurizioPz commented 1 year ago

I just did a simple translation + refactoring of the existing manual test, I can also add some unit tests, but if you are able to provide me with the tests cases you would like it would be great. If you can't I will try to think some of them myself

computablee commented 1 year ago

Thanks to the excellent work by @MaurizioPz, we have the infrastructure in place to build unit tests. The current build has pretty good test coverage. Thank you!