Esempio n. 1
0
        public void ToStringTest()
        {
            string ext = ".8xp";

            Project.AssemblerOutputType target = new Project.AssemblerOutputType(ext);
            string expected = ".8xp";
            string actual;

            actual = target.ToString();
            Assert.AreEqual(expected, actual);
        }
Esempio n. 2
0
        public void GetOutputTypeTest_Bin()
        {
            string   projectFile = @"C:\Users\Test\file.wcodeproj";
            string   projectName = "Project";
            IProject target      = new Project(projectFile, projectName);

            Project.AssemblerOutputType expected = new Project.AssemblerOutputType(".bin");
            Project.AssemblerOutputType actual;
            actual = target.GetOutputType();
            Assert.AreEqual(expected, actual);
        }