コード例 #1
0
        public void TestMissing()
        {
            // While this is a problem, it is out of scope for this check and is caught by a different one.
            beatmap.Metadata.BackgroundFile = string.Empty;
            var context = getContext(null, new MemoryStream(Array.Empty <byte>()));

            Assert.That(check.Run(context), Is.Empty);
        }
コード例 #2
0
        public void TestMissing()
        {
            // While this is a problem, it is out of scope for this check and is caught by a different one.
            beatmap.Metadata.BackgroundFile = null;
            var mock = getMockWorkingBeatmap(null, System.Array.Empty <byte>());

            Assert.That(check.Run(beatmap, mock.Object), Is.Empty);
        }