Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def setUp(self):
self.cycles_true = TESTDATA['cycles']
self.residue_true = TESTDATA['residue']
self.reversals = TESTDATA['reversals']
self.cycles, self.residue = rainflow.find_rainflow_cycles(
self.reversals)
self.result = self.cycles
self.result_true = self.cycles_true