public void mkdirValeur() { Directory racine = new Directory("racine", null, 7); Directory test = new Directory("test", racine, 7); racine.createNewFile("test"); Assert.AreEqual("test", test.name); Assert.AreEqual(racine, test.parent); Assert.AreEqual(7, test.permission); }
public void createFileTrue() { Directory racine = new Directory("racine", null, 7); Assert.IsTrue(racine.createNewFile("test")); }
public void createAjoutListe() { Directory racine = new Directory("racine", null, 7); racine.createNewFile("test"); Assert.AreEqual(1, racine.listeFile.Count); }