Пример #1
0
        public void AllReferencedSoundFilesExist()
        {
            var sounds = Enum.GetValues(typeof(ESounds));

            foreach (var s in sounds)
            {
                var file   = SoundEffect.GetSoundFile((ESounds)s);
                var exists = File.Exists(file);
                exists.ShouldBe(true, "File doesn't exist: " + file);
            }
        }