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

Continue cmontecarlo tests refactor. Extend #530. #544

Merged
merged 17 commits into from
May 10, 2016

Commits on Apr 29, 2016

  1. Refactor test_montecarlo_free_free_scatter.

    karandesai-96 committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    4f4a1e8 View commit details
    Browse the repository at this point in the history
  2. Refactor test_bf_cross_section.

    karandesai-96 committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    1f099af View commit details
    Browse the repository at this point in the history
  3. Refactor test_move_packet.

    karandesai-96 committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    e7a7b4e View commit details
    Browse the repository at this point in the history
  4. Refactor test_calculate_chi_bf.

    - Add a TODO as there is a problem in underlying
      method. Alongwith it also a skip marker is added.
    karandesai-96 committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    0de7cba View commit details
    Browse the repository at this point in the history
  5. Refactor test_montecarlo_bound_free_scatter.

    karandesai-96 committed Apr 29, 2016
    Configuration menu
    Copy the full SHA
    6e7be8c View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2016

  1. Add test_reverse_binary_search and parametrize it.

    - Add skip markers to two methods:
        test_montecarlo_bound_free_scatter
        test_montecarlo_free_free_scatter
    karandesai-96 committed Apr 30, 2016
    Configuration menu
    Copy the full SHA
    50cf9f0 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2016

  1. Add test_line_search and parametrize it.

    karandesai-96 committed May 1, 2016
    Configuration menu
    Copy the full SHA
    5441c00 View commit details
    Browse the repository at this point in the history
  2. Fix segfaults by making changes in RKState struct.

    - RKState struct in python implementation had a 'key'
      member which was a pointer to c_ulong type array.
    
    - The C counterpart had a static array declaration,
      and hence the memory allocated to both Structs was
      different, hence causing repeated segfaults, false
      assertions and fails.
    karandesai-96 committed May 1, 2016
    Configuration menu
    Copy the full SHA
    6b1855a View commit details
    Browse the repository at this point in the history
  3. Refactor, parametrize test_montecarlo_thomson_scatter.

    karandesai-96 committed May 1, 2016
    Configuration menu
    Copy the full SHA
    a776364 View commit details
    Browse the repository at this point in the history
  4. Add default value of chi_cont in packet fixture.

    karandesai-96 committed May 1, 2016
    Configuration menu
    Copy the full SHA
    5fcf136 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fd9d4c1 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2016

  1. Add test_montecarlo_continuum_event_handler [unclear].

    karandesai-96 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    870e5e4 View commit details
    Browse the repository at this point in the history
  2. Remove test_cmontecarlo.c

    - New tests no longer require these C tests. They
      directly wrap C methods.
    karandesai-96 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    70dcfac View commit details
    Browse the repository at this point in the history
  3. Reorder tests for categorization, add block comments.

    - Tests are reordered according to category:
        - Important tests.
        - Not yet relevant tests.
    
    - Block comments have been added, which desribe these tests.
    
    - @pytest.mark.skipif added to 'Not yet relevant' category tests.
    karandesai-96 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    02d1f13 View commit details
    Browse the repository at this point in the history
  4. Add block comment and remaining incomplete tests.

    karandesai-96 committed May 4, 2016
    Configuration menu
    Copy the full SHA
    acec56c View commit details
    Browse the repository at this point in the history

Commits on May 5, 2016

  1. Remove test_rpacket.c and test_rpacket.py

    karandesai-96 committed May 5, 2016
    Configuration menu
    Copy the full SHA
    2b8465c View commit details
    Browse the repository at this point in the history
  2. Remove code related to building test_montecarlo.so

    karandesai-96 committed May 5, 2016
    Configuration menu
    Copy the full SHA
    51cbe16 View commit details
    Browse the repository at this point in the history