Пример #1
0
        public void TestCalculateShadeWithEmptyLightsListAndNoAmbientLight()
        {
            //Arrange
            scene = new Scene(new WindowFrame(2000, 2000, 1.0));
            //Act
            ColorRGB colorResult = testPhong.CalculateShade(hitInfo, scene);

            //Assert
            Assert.IsNotNull(colorResult);
        }