Newer
Older
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MAIN
#include <boost/test/unit_test.hpp>
#include <sstream> // stringstream
#include "niflib.h"
#include "obj/NiTriShape.h"
#include "obj/BSLightingShaderProperty.h"
using namespace Niflib;
using namespace std;
{
stringstream ss;
// create a simple nif tree with BSLightingShaderProperty
NiTriShapeRef shape = new NiTriShape;
BSLightingShaderPropertyRef prop = new BSLightingShaderProperty;