Example #1
0
        public void ShouldBeOneMoreAudioWhenOneAdded()
        {
            Landmark landmark = new Landmark("title", 0.0, 0.0, "description", "testImage1.jpg");

            landmark.AddAudio("testAudio.mp3");
            Assert.AreEqual(1, landmark.Audios.Count);
        }
Example #2
0
        public void ShouldThrowExceptionIfUnexistentAudioIsAdded()
        {
            Landmark landmark = new Landmark("title", 0.0, 0.0, "description", "testImage1.jpg");

            landmark.AddAudio("unexistentAudio.mp3");
        }