Test whether all but the last Bars contained in this track are full.
(self)
| 187 | return self.add_notes(value) |
| 188 | |
| 189 | def test_integrity(self): |
| 190 | """Test whether all but the last Bars contained in this track are |
| 191 | full.""" |
| 192 | for b in self.bars[:-1]: |
| 193 | if not b.is_full(): |
| 194 | return False |
| 195 | return True |
| 196 | |
| 197 | def __eq__(self, other): |
| 198 | """Enable the '==' operator for tracks.""" |