Package jptests :: Package data :: Module input
[hide private]
[frames] | no frames]

Module input

source code

Unit tests for jazzparser.data.input module


Author: Mark Granroth-Wilding <mark.granroth-wilding@ed.ac.uk>

Classes [hide private]
  TestDbInput
Tests for loading a DbInput.
  TestChordInput
Test for loading a ChordInput.
  TestSegmentedMidiInput
Test for loading a SegmentedMidiInput from a MIDI file.
  TestDbBulkInput
Test for loading a DbBulkInput.
  TestChordBulkInput
Tests for loading a ChordBulkInput (text chord sequences).
  TestSegmentedMidiBulkInput
Tests for loading a list of MIDI files from a CSV.
  TestUtilities
Tests the utility functions.
  TestTypeLists
Some sanity checks on the type lists.
Variables [hide private]
  DB_SEQUENCES_FILE = '/home/mark/jazzparser/etc/test/dbsequences'
  CHORDS_FILE = '/home/mark/jazzparser/etc/test/text_chords'
  CHORD_SEQS_FILE = '/home/mark/jazzparser/etc/test/text_chord_l...
  CHORDS = 'IM7 IV7 IM7 I7 IV7'
  MIDI_FILE = '/home/mark/jazzparser/etc/test/afine.mid'
  SEGMENTED_MIDI = ('/home/mark/jazzparser/etc/test/afternoon.mi...
  SEGMENTED_MIDIS = '/home/mark/jazzparser/etc/test/segmidi.csv'
  __package__ = 'jptests.data'
Variables Details [hide private]

CHORD_SEQS_FILE

Value:
'/home/mark/jazzparser/etc/test/text_chord_list'

SEGMENTED_MIDI

Value:
('/home/mark/jazzparser/etc/test/afternoon.mid', 2, 240)