public void NoteFinderTest() { NoteFactory noteFactory = new NoteFactory(); NoteFinder noteFinder = new NoteFinder(noteFactory); INote note = noteFactory.CreateNote(enote, octave); var actual = noteFinder.FindNearestNote(110); Assert.AreEqual(actual, note); }
void Awake() { S = this; }