Inheritance: MonoBehaviour
Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 void Awake()
 {
     S = this;
 }