Main() public static méthode

public static Main ( string args ) : int
args string
Résultat int
Exemple #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);
        }