Action #1582

Add Python unit tests for all iterators

Added by Knödlseder Jürgen over 8 years ago. Updated over 6 years ago.

Status:ClosedStart date:11/24/2015
Priority:NormalDue date:
Assigned To:Knödlseder Jürgen% Done:

100%

Category:-
Target version:1.4.0
Duration:

Description

Python unit tests should be added for all iterators to verify that they work correctly on all platforms.

This is a follow up of #1581 which revealed that the GSkyMap pixel iterator did not work on all platforms.


Recurrence

No recurrence.


Related issues

Related to GammaLib - Bug #1581: Skymap pixel iterator does not work on Debian and FreeBSD Closed 11/24/2015
Related to GammaLib - Feature #2128: Implement slicing in the Python interface of container cl... Closed 06/21/2017

History

#1 Updated by Knödlseder Jürgen over 7 years ago

It turns out that the iterators without explicit out of range checking only do not work with swig 1.3.40 (this is the swig version on Debian and FreeBSD).

#2 Updated by Knödlseder Jürgen over 6 years ago

  • Related to Feature #2128: Implement slicing in the Python interface of container classes added

#3 Updated by Knödlseder Jürgen over 6 years ago

  • Status changed from New to Closed
  • Assigned To set to Knödlseder Jürgen
  • Target version set to 1.4.0
  • % Done changed from 0 to 100

I added in issue #2128 unit tests for all container iterators.

Also available in: Atom PDF