Beispiel #1
0
 public void SemanticAnalysis_InstructorCase4()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\t54.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\t54.txt", CommonTools.OutputFilePaths[0]);
 }
Beispiel #2
0
 public void SemanticAnalysis_AwkwardTypeDeclaration()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\AwkwardTypeDeclaration.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\AwkwardTypeDeclaration.txt", CommonTools.OutputFilePaths[0]);
 }
Beispiel #3
0
 public void SemanticAnalysis_FunctionCall()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\FunctionCall.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\FunctionCall.txt", CommonTools.OutputFilePaths[0]);
 }
Beispiel #4
0
 public void SemanticAnalysis_UndeclaredVariableRight()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\UndeclaredVariableRight.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\UndeclaredVariableRight.txt", CommonTools.OutputFilePaths[0]);
 }
 public void LexicalAnaylzer_InstructorCase5()
 {
     Bootstrapper.StartLexicalAnalyzer(new string[] { @"LexicalAnalyzer\Source\Tokens5.c" });
     TestTools.CompareFileEquality(@"LexicalAnalyzer\Expected\Tokens5.txt", CommonTools.OutputFilePaths[0]);
 }
 public void LexicalAnalyzer_HappyPath()
 {
     Bootstrapper.StartLexicalAnalyzer(new string[] { @"LexicalAnalyzer\Source\HappyPath.c" });
     TestTools.CompareFileEquality(@"LexicalAnalyzer\Expected\HappyPath.txt", CommonTools.OutputFilePaths[0]);
 }