def test_add_actuator(self): # platform object p1 = pyobs.Platform("platform 1", "p1") # actuator objects act1 = pyobs.Actuator("Actuator 1", "first actuator") act2 = pyobs.Actuator("Actuator 2", "second actuator") act3 = pyobs.Actuator("Actuator 3", "third actuator") # add actuators to platform 1 p1.add_actuator(act1) p1.add_actuator(act2) p1.add_actuator(act3)
def test_add_actuation(self): a1 = pyobs.Actuation("Actuation 1", "switch on thermometer") act1 = pyobs.Actuator("Actuator 1", "first actuator") act1.add_actuation(a1)
def test_add_actuatableProperty(self): actProp = pyobs.ActuatableProperty("ActuatableProperty1", "temperature") act1 = pyobs.Actuator("Actuator 1", "first actuator") act1.add_actuatableProperty(actProp)