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

Method test_determine_polychord

tests/unit/core/test_chords.py:436–468  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

434 )
435
436 def test_determine_polychord(self):
437 self.chordsTest(
438 [ # insano test
439 [["FM|Dm"], ["D", "F", "A", "C"]],
440 [["Dm|GM"], ["G", "B", "D", "F", "A"]],
441 [["FM|G7", "FM|GM"], ["G", "B", "D", "F", "A", "C",]],
442 [["Am|G7"], ["G", "B", "D", "F", "A", "C", "E",]],
443 [["Am7|G7"], ["G", "B", "D", "F", "A", "C", "E", "G",]],
444 [["CM9|CM"], ["C", "E", "G", "C", "E", "G", "B", "D",]],
445 [["CM9|CM7"], ["C", "E", "G", "B", "C", "E", "G", "B", "D",]],
446 [
447 ["A13|G13"],
448 [
449 "G",
450 "B",
451 "D",
452 "F",
453 "A",
454 "C",
455 "E",
456 "A",
457 "C#",
458 "E",
459 "G",
460 "B",
461 "D",
462 "F#",
463 ],
464 ],
465 ],
466 lambda x: chords.determine_polychords(x, True),
467 "polychord naming",
468 )
469
470
471def load_tests(loader, tests, ignore):

Callers

nothing calls this directly

Calls 1

chordsTestMethod · 0.95

Tested by

no test coverage detected