LvArray icon indicating copy to clipboard operation
LvArray copied to clipboard

Improve pylvarray test coverage with pure C++ tests.

Open corbett5 opened this issue 4 years ago • 0 comments

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);
}

corbett5 avatar Feb 12 '21 01:02 corbett5