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

Improve pylvarray test coverage with pure C++ tests. #223

Open
corbett5 opened this issue Feb 12, 2021 · 0 comments
Open

Improve pylvarray test coverage with pure C++ tests. #223

corbett5 opened this issue Feb 12, 2021 · 0 comments

Comments

@corbett5
Copy link
Collaborator

We can improve the pylvarray test coverage with pure C++ tests as follows

template< typename T >
void testSortedArray()
{
  SortedArray< T > set;
  populate( set);
  SortedArray< T > copy( arr );
  PyObjectRef<> pySet = create( arr );
  mutate( pySet, copy );
  check( copy, arr, pySet);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants