コード例 #1
0
        public void IsTrackZCoordinateInAirspaceArea_IsInAirspace_returnsFalse()
        {
            _uut.Track     = FakeTrackFactory.GetTrack(200, 300, 400);
            _uut.Trackable = FakeAirspaceGenerator.GetAirspace(1000, 1000, 1000);

            var result = _uut.IsTrackZCoordinateInAirspaceArea();

            Assert.That(result.Equals(false));
        }
コード例 #2
0
        public void IsTrackYCoordinateInAirspaceArea_IsInAirspace_returnsTrue()
        {
            _uut.Track     = FakeTrackFactory.GetTrack(200, 300, 400);
            _uut.Trackable = FakeAirspaceGenerator.GetAirspace(0, 0, 0);

            var result = _uut.IsTrackYCoordinateInAirspaceArea();

            Assert.That(result);
        }