MCPcopy Create free account
hub / github.com/bspaans/python-mingus / test_integrity

Method test_integrity

mingus/containers/track.py:189–195  ·  view source on GitHub ↗

Test whether all but the last Bars contained in this track are full.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers

nothing calls this directly

Calls 1

is_fullMethod · 0.80

Tested by

no test coverage detected