Exemplo n.º 1
0
        public void observer_broadcasts_location()
        {
            // Setup
            var observer = new Observer();

            // Test
            observer.Pulse();

            // Verify
            var location = observer.Location;
            var expected = location.Latitude > 0 && location.Longitude > 0;

            Assert.IsTrue(expected);
        }