Exemplo n.º 1
0
        public void GetCompilersTest()
        {
            var target      = new Compilers("Directory");
            var newCompiler = new Compiler();

            newCompiler.Name = "CPP";
            var resultList = target.GetCompilers();

            Assert.AreEqual(resultList.Count, 0);

            target.AddCompiler(newCompiler);
            resultList = target.GetCompilers();
            Assert.AreEqual(resultList.Count, 1);
        }
Exemplo n.º 2
0
        public void CompilerConstructorTest()
        {
            var target = new Compilers("Directory");

            Assert.AreNotEqual(target.GetCompilers(), null);
        }