Пример #1
0
        public void Ctor_AssingsPassedException()
        {
            Exception passedEx = new Exception();

            ShaderCompilationErrorException ex = new ShaderCompilationErrorException(passedEx);

            Assert.That(ex.Message, Is.Not.Null.And.Not.Empty);
        }
Пример #2
0
        public void Ctor_AssingsPassedMessage()
        {
            const string message = "lorem ipsum";

            ShaderCompilationErrorException ex = new ShaderCompilationErrorException(message);

            Assert.That(ex.Message, Is.EqualTo(message));
        }
Пример #3
0
        public void Ctor_AssingsMessage()
        {
            ShaderCompilationErrorException ex = new ShaderCompilationErrorException();

            Assert.That(ex.Message, Is.Not.Null.And.Not.Empty);
        }