Ejemplo n.º 1
0
 public void SemanticAnalysis_InstructorCase4()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\t54.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\t54.txt", CommonTools.OutputFilePaths[0]);
 }
 public void CodeGenerator_HappyPath()
 {
     Bootstrapper.StartCodeGeneratorDebug(new string[] { @"CodeGenerator\Source\HappyPath.c" });
     TestTools.CompareFileEquality(@"CodeGenerator\Expected\HappyPath.txt", CommonTools.OutputFilePaths[0]);
 }
Ejemplo n.º 3
0
 public void SemanticAnalysis_AwkwardTypeDeclaration()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\AwkwardTypeDeclaration.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\AwkwardTypeDeclaration.txt", CommonTools.OutputFilePaths[0]);
 }
Ejemplo n.º 4
0
 public void SemanticAnalysis_FunctionCall()
 {
     Bootstrapper.StartSemanticAnaylsisDebug(new string[] { @"SemanticAnalysis\Source\FunctionCall.c" });
     TestTools.CompareFileEquality(@"SemanticAnalysis\Expected\FunctionCall.txt", CommonTools.OutputFilePaths[0]);
 }
Ejemplo n.º 5
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]);
 }