Skip to content
Snippets Groups Projects
  1. Jan 12, 2021
  2. Jan 10, 2021
    • Bhatu's avatar
      Update disclaimer · 055da16c
      Bhatu authored
      055da16c
    • Bhatu's avatar
      Add unittests and related scripts · af13174c
      Bhatu authored
      To run tests, navigate to Athos/tests directory (or provide path to pytest):
      1. Run all tests with target as CPP. Backend can be CPP,3PC,2PC_HE,2PC_OT
         pytest -rs . --backend="CPP"
      2. Run a specific test.
         pytest -rs . -k "test_arith_binop" --backend="CPP"
      3. Run and generate a coverage report
         pytest --cov --cov-report html --cov-config=pytest_coverage_tf.config .
      
      Install pytest and pytest-cov to run the above commands.
      af13174c
Loading