FormeleMethode/TestRegExp.cs
/// <summary>
/// Displays the language and not language printing
/// </summary>
Displays the language and not language printing
Displays the language and not language printing
public void TestLanguage()
		{
			Console.WriteLine("taal van (baa):\n");
			expr1.PrintLanguageAsString(expr1.GetLanguage(4));
			Console.WriteLine("\nAlles wat taal (baa) niet accepteerd:\n");
			Console.WriteLine(String.Join(",", expr1.GetNotLanguage(3).OrderBy(x => x)));
			Console.WriteLine("\ntaal van (bb):\n");
			expr2.PrintLanguageAsString(expr2.GetLanguage(4));
			Console.WriteLine("\ntaal van (baa | bb):\n");
			expr3.PrintLanguageAsString(expr3.GetLanguage(4));
			Console.WriteLine("\ntaal van (a|b)*:\n");
			all.PrintLanguageAsString(all.GetLanguage(4));
			Console.WriteLine("\nAlles wat taal (a|b)* niet accepteerd:\n");
			Console.WriteLine(String.Join(",", all.GetNotLanguage(4).OrderBy(x => x)));
			Console.WriteLine("\ntaal van (baa | bb)+:\n");
			expr4.PrintLanguageAsString(expr4.GetLanguage(3)); 
			Console.WriteLine("\nAlles wat taal (baa | bb)+ niet accepteerd:\n");
			Console.WriteLine(String.Join(",", expr4.GetNotLanguage(3).OrderBy(x => x)));
			Console.WriteLine("\ntaal van (baa | bb)+ (a|b)*:\n");
			expr5.PrintLanguageAsString(expr5.GetLanguage(5));
		}
public void TestLanguage ( ) { Console . WriteLine ( " \n " ) ; expr1 . PrintLanguageAsString ( expr1 . GetLanguage ( 4 ) ) ; Console . WriteLine ( " \n \n " ) ; Console . WriteLine ( String . Join ( " " , expr1 . GetNotLanguage ( 3 ) . OrderBy ( x => x ) ) ) ; Console . WriteLine ( " \n \n " ) ; expr2 . PrintLanguageAsString ( expr2 . GetLanguage ( 4 ) ) ; Console . WriteLine ( " \n \n " ) ; expr3 . PrintLanguageAsString ( expr3 . GetLanguage ( 4 ) ) ; Console . WriteLine ( " \n \n " ) ; all . PrintLanguageAsString ( all . GetLanguage ( 4 ) ) ; Console . WriteLine ( " \n \n " ) ; Console . WriteLine ( String . Join ( " " , all . GetNotLanguage ( 4 ) . OrderBy ( x => x ) ) ) ; Console . WriteLine ( " \n \n " ) ; expr4 . PrintLanguageAsString ( expr4 . GetLanguage ( 3 ) ) ; Console . WriteLine ( " \n \n " ) ; Console . WriteLine ( String . Join ( " " , expr4 . GetNotLanguage ( 3 ) . OrderBy ( x => x ) ) ) ; Console . WriteLine ( " \n \n " ) ; expr5 . PrintLanguageAsString ( expr5 . GetLanguage ( 5 ) ) ; }
Displays the language and not language printing
Displays the language and not language printing
// TODO 