public void TestBoxWithPigment() { var box = new Box(); var whiteCol = new PovColor(1, 1, 1); var pigment = new Pigment(whiteCol); box.AddModifiers(pigment); var povCode = box.ToPovCode(); Check.That(povCode).IsEqualTo("box {\n < 0, 0, 0>, < 1, 1, 1>\n\npigment {\n color rgb < 1, 1, 1>\n}\n}"); }