Пример #1
0
        private static void TestCase05()
        {
            World w = new DefaultWorld();
            Tuple p = Tuple.Point(-2, 2, -2);

            Assert.False(w.IsShadowed(w.Lights[0], p));
        }
Пример #2
0
        private static void TestCase03()
        {
            World w = new DefaultWorld();
            Tuple p = Tuple.Point(10, -10, 10);

            Assert.True(w.IsShadowed(w.Lights[0], p));
        }