Esempio n. 1
0
        public async Task NextJump()
        {
            var raceData = await RacingData.GetNextJumpAsync();

            Assert.IsNotNull(raceData);

            Assert.IsTrue(raceData.success);

            if (raceData.result.Any())
            {
                var testData = raceData.result.FirstOrDefault();
                // this is required
                Assert.IsNotNull(testData.EventID);
                Assert.IsNotNull(testData.EventType.EventTypeID);
                Assert.IsNotNull(testData.AdvertisedStartTime);
            }
        }
Esempio n. 2
0
        public async Task <NextJump> RaceData()
        {
            var raceList = await RacingData.GetNextJumpAsync();

            return(raceList);
        }