tests.integration_tests.env.test_five_node_def#

Functions

test_environment_init

Test environment creation and value initialisation with a range of values.

test_environment_reset

Test environment reset and value initialisation.

test_n_machines

Test environment initialisation with a range of node sizes.

tests.integration_tests.env.test_five_node_def.test_n_machines(n_machines)[source]#

Test environment initialisation with a range of node sizes.

tests.integration_tests.env.test_five_node_def.test_environment_init(n_machines, attacker_skill, attack_success_threshold, no_compromised_machine_loss)[source]#

Test environment creation and value initialisation with a range of values.

Parameters:
  • n_machines – Number of machines to include within the environment

  • attacker_skill – Red Attacker Skill level

  • attack_success_threshold – Red Attack Success Threshold

  • no_compromised_machine_loss – Number of machines that result in a blue loss

tests.integration_tests.env.test_five_node_def.test_environment_reset()[source]#

Test environment reset and value initialisation.