public void GetNoteTest() { Note n = new Note(12, false); Examen e = new Examen("11/12/20117", "Mr Ambart", 3, n); Assert.AreEqual(e.GetNote().Valeur, 12); //Assert.Fail(); }
public void SetNoteTest() { Note n = new Note(12, false); Examen ex = new Examen("11/12/20117", "Mr Ambart", 3, n); Note no = new Note(13, false); ex.SetNote(no); Assert.AreEqual(ex.GetNote().Valeur, 13); //Assert.Fail(); }