Ejemplo n.º 1
0
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool ChordDiagramTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 16, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);                
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCaseChordDiagram())
        return (false);
    if (!TestCaseChordName())
        return (false);
    if (!TestCaseTopFret())
        return (false);
    if (!TestCaseString())
        return (false);
    if (!TestCaseFretNumber())
        return (false);
    if (!TestCaseVoicing())
        return (false);
    if (!TestCaseOperations())
        return (false);
    return (true);
}
/// Executes all test cases in the test suite
/// @return True if all tests were executed, false if not
bool DirectionTestSuite::RunTestCases()
{
    //------Last Checked------//
    // - Jan 11, 2005
    if (!TestCaseConstructor())
        return (false);
    if (!TestCaseCreation())
        return (false);
    if (!TestCaseOperator())
        return (false);
    if (!TestCaseSerialize())
        return (false);
    if (!TestCasePosition())
        return (false);
    if (!TestCaseSymbolType())
        return (false);
    if (!TestCaseActiveSymbol())
        return (false);
    if (!TestCaseRepeatNumber())
        return (false);
    if (!TestCaseSymbolArray())
        return (false);
    if (!TestCaseOperations())
        return (false);
    return (true);
}