:param amount: the chips you own
(self, amount)
| 104 | |
| 105 | class Chips: |
| 106 | def __init__(self, amount): |
| 107 | """ |
| 108 | :param amount: the chips you own |
| 109 | """ |
| 110 | self._amount = amount |
| 111 | self._bet_amount = 0 |
| 112 | self._insurance = 0 |
| 113 | self.is_insurance = False |
| 114 | self.is_double = False |
| 115 | |
| 116 | def __bool__(self): |
| 117 | return self.amount > 0 |
nothing calls this directly
no outgoing calls
no test coverage detected