Exemple #1
0
        public void PovObjectWithNameTest()
        {
            var    sphere  = new Sphere("MySphere");
            var    povObj  = new PovObject(sphere);
            string povCode = povObj.ToPovCode();

            Check.That(povCode).IsEqualTo("object {\n MySphere\n}");
        }
Exemple #2
0
        public void PovObjectTest()
        {
            var    sphere  = new Sphere();
            var    povObj  = new PovObject(sphere);
            string povCode = povObj.ToPovCode();

            Check.That(povCode).IsEqualTo("object {\n sphere {\n < 0, 0, 0>, 1\n}\n}");
        }