Пример #1
0
        public void RenderQueue_ClearTargetColour_CatchNullInput()
        {
            var commandQueue = Substitute.For <IRenderCommandQueue>();

            IRenderQueue queue = new RenderQueue(commandQueue);

            Assert.Throws <Yak2DException>(() => { queue.ClearColour(null, Colour.White); });
        }