Beispiel #1
0
        public async Task GetPhotos()
        {
            var client = new RoverClient();
            var rovers = client.GetRovers();
            var rover  = rovers.First(r => string.Equals(r.Name, "Opportunity"));
            var photos = await rover.GetPhotosAsync(new DateTime(2015, 6, 3));

            Assert.NotEmpty(photos);
        }
Beispiel #2
0
        public void GetRoversReturnsThreeRovers()
        {
            var client = new RoverClient();

            Assert.Equal(3, client.GetRovers().Count());
        }
Beispiel #3
0
        public void CanGetRoversFromClient()
        {
            var client = new RoverClient();

            Assert.NotEmpty(client.GetRovers());
        }