Example #1
0
        public void ExecuteTest_ExplorerSet_ReturnsTrue()
        {
            var command = new ExploreCommand(new List <Movement>());

            command.SetExplorer(new Rover(new ExplorationTeam(new Plateau())));
            Assert.IsTrue(command.Execute());
        }
Example #2
0
 public void ExecuteTest()
 {
     var command = new ExploreCommand();
     TestCommand(command,
                 result =>
                     {
                         Assert.IsNotNull(result);
                         Assert.IsNotNull(result.Response);
                     });
 }
Example #3
0
        public void ExecuteTest_NoExplorerSet_ReturnsFalse()
        {
            var command = new ExploreCommand(new List <Movement>());

            Assert.IsFalse(command.Execute());
        }
Example #4
0
 public void ExploreCommandTest()
 {
     var command = new ExploreCommand(null);
 }