示例#1
0
        public void CalculateDistance_LessThan2Records_Throws()
        {
            ISSTrackerApi api = new ISSTrackerApi();

            Assert.Throws <InvalidOperationException>(() => api.CalculateISSSpeed());
        }
示例#2
0
        public void CalculateSpeed_ReturnValue()
        {
            ISSTrackerApi api = new ISSTrackerApi();

            Assert.Throws <InvalidOperationException>(() => api.CalculateISSSpeed());
        }