public void NbScales_NormalMtg_ReturnsNumberOfScales() { mtg tree = new mtg(); tree.scale.Add(1, 1); tree.scale.Add(2, 1); tree.scale.Add(3, 2); tree.scale.Add(4, 2); Assert.AreEqual(tree.NbScales(), 3); }
public void NbScales_EmptyMtg_ReturnsOne() { mtg tree = new mtg(); Assert.AreEqual(tree.NbScales(), 1); }