Written more tests and corrected more bugs

This commit is contained in:
Lukasz Baldyga committed 2020-10-23 00:46:33 +01:00
1 parent 54de63eeb3
commit 63794a39d7
4 files changed
+89 -8

No files matched your search

@@ -5,7 +5,7 @@ using System.Drawing;
using System.Linq;
namespace Advanced_Software_Engineering {
class VerbFactory {
public class VerbFactory {
public static Verb MakeVerb(Drawer drawer, string fullCommand) {
Dictionary<string, string[]> commandAndParameters = SettingsAndHelperFunctions.CommandAndParameterParser(fullCommand);
@@ -76,6 +76,7 @@ namespace Advanced_Software_Engineering {
}
catch(Exception windowError) {
Console.WriteLine("Failed to display error window!");
throw windowError;
}
RemoveAllCommands();
}