def simple_subsys_all_off(): return example_networks.simple_subsys_all_off()
# -*- coding: utf-8 -*- # test_subsystem_cause_and_effect_repertoire.py import numpy as np import pytest import example_networks from pyphi import Direction, Subsystem from pyphi.models import Cut # Get example networks standard = example_networks.standard() # Get example subsystems standard_subsystem = example_networks.s() simple_all_off = example_networks.simple_subsys_all_off() simple_a_just_on = example_networks.simple_subsys_all_a_just_on() full = tuple(range(standard.size)) # Set up test scenarios # ===================== # Scenario structure: # ( # function to test, # subsystem, # mechanism, # purview, # expected result