Main() public static method

public static Main ( string args ) : int
args string
return int
示例#1
0
        protected void Invoke([CallerMemberName] string caller = null)
        {
            // Arrange
            string testCasePath = GetPath(caller);

            string[] args = GetArgs(testCasePath);

            // Act
            int result = Compiler.Main(args);

            // Assert
            Assert.AreEqual(expectedResult, result);
            AssertCorrect(testCasePath);
        }