def METHOD_NAME(self):
    tripod = FlightModel(self, 'tripod')
    tripod.include_system_test_file('switch.xml')
    fdm = tripod.start()
    fdm['test/reference'] = 150
    fdm['test/input'] = 30
    fdm.run()
    self.assertEqual(fdm['test/nested'], 0)
    fdm['test/reference'] = 180
    fdm['test/input'] = 30
    fdm.run()
    self.assertEqual(fdm['test/nested'], 25)
    fdm['test/reference'] = 180
    fdm['test/input'] = 25
    fdm.run()
    self.assertEqual(fdm['test/nested'], 0)
    fdm['test/reference'] = 210
    fdm['test/input'] = 25
    fdm.run()
    self.assertEqual(fdm['test/nested'], 20)
    fdm['test/reference'] = 210
    fdm['test/input'] = 30
    fdm.run()
    self.assertEqual(fdm['test/nested'], 20)
    fdm['test/reference'] = 210
    fdm['test/input'] = 15
    fdm.run()
    self.assertEqual(fdm['test/nested'], 0)