/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package homework2;

/**
 *
 * @author Dean Brock <brock@unca.edu>
 */
public class TestDriver {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Note aFlat = new Note('A', 'f', 3) ;
        Note cMid  = new Note() ;
        Note fSrp  = new Note() ;
        fSrp.setLetter('F') ;
        fSrp.setAccidental('s');
        fSrp.setOctave(5);
        if (aFlat.getLetter() == 'A'
                && aFlat.getAccidental() == 'f'
                && aFlat.getOctave() == 3) {
            System.out.println("A flat is ok") ;
        }
        if (cMid.getLetter() == 'C'
                && cMid.getAccidental() == ' '
                && cMid.getOctave() == 4) {
            System.out.println("Middle C is ok") ;
        }
        if (fSrp.getLetter() == 'F'
                && fSrp.getAccidental() == 's'
                && fSrp.getOctave() == 5) {
            System.out.println("F sharp is ok") ;
        }
    }
}
