Module: tff.test

Test classes/functions for testing usage of TFF.

This package contains functions and utilities that can make testing usage of TFF easier or more convenient and parallels the tf.test package.

Classes

class ReferenceExecutor: A simple interpreted reference executor.

Functions

assert_contains_secure_aggregation(...): Asserts that comp contains at least one secure aggregation call.

assert_contains_unsecure_aggregation(...): Asserts that comp contains at least one unsecure aggregation call.

assert_not_contains_secure_aggregation(...): Asserts that comp contains no secure aggregation calls.

assert_not_contains_unsecure_aggregation(...): Asserts that comp contains no unsecure aggregation calls.