Add explicit should_sell test

This commit is contained in:
Matthias
2022-05-22 10:31:29 +02:00
parent b7388557a9
commit ce3bfd59f5
2 changed files with 77 additions and 0 deletions

View File

@@ -15,3 +15,6 @@ class ExitCheckTuple:
@property
def exit_flag(self):
return self.exit_type != ExitType.NONE
def __eq__(self, other):
return self.exit_type == other.exit_type and self.exit_reason == other.exit_reason