public void ParseSimpleWhile()
{
ICommand command = ParseCommand("while (a<10) a=a+1;");
Assert.IsNotNull(command);
Assert.IsInstanceOfType(command, typeof(WhileCommand));
WhileCommand whilecmd = (WhileCommand)command;
Assert.IsNotNull(whilecmd.Condition);
Assert.IsNotNull(whilecmd.Command);
Assert.IsInstanceOfType(whilecmd.Command, typeof(SetCommand));
}