public void TestCsMajor() { MajorScale CsMajor = new MajorScale(Chromatic.Cs); Assert.AreEqual(Chromatic.Ds, CsMajor.NextNote()); Assert.AreEqual(Chromatic.F, CsMajor.NextNote()); }
public void TestAMajorFrequency() { MajorScale AMajor = new MajorScale(Chromatic.A); Assert.AreEqual(Chromatic.B, AMajor.NextNote()); Assert.AreEqual(493.88, AMajor.Frequency()); }
public void TestCMajorScale() { MajorScale Cmajor = new MajorScale(Chromatic.C); Assert.AreEqual(Chromatic.D, Cmajor.NextNote()); Assert.AreEqual(Chromatic.E, Cmajor.NextNote()); Assert.AreEqual(Chromatic.F, Cmajor.NextNote()); Assert.AreEqual(Chromatic.G, Cmajor.NextNote()); Assert.AreEqual(Chromatic.A, Cmajor.NextNote()); Assert.AreEqual(Chromatic.B, Cmajor.NextNote()); Assert.AreEqual(Chromatic.C, Cmajor.NextNote()); Assert.AreEqual(Chromatic.D, Cmajor.NextNote()); }