Skip to content

Minor ABY3 test updates #736

@mortendahl

Description

@mortendahl

Minor updates:

  • rename test_aby3.py to aby3_test.py to match rest of code base
  • consider using np.testing.assert_allclose(x, x, rtol=0.0, atol=threshold) instead of custom close function (see https://github.com/tf-encrypted/tf-encrypted/pull/721/files#r362792674)
  • consider using unittest.main() at the end of the scripts instead of re-listing all test functions (which could potentially become unsynchronised in the future); see eg pond_test.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions