public void NodeDataConstructorTest()
        {
            const int       nodeId    = 2000;
            DemographicsSet parentSet = DemographicsSet.CreateDemographicsSet();

            parentSet.AddLayer("layer1.compiled.json");
            var target = new NodeData_Accessor(nodeId, parentSet);

            Assert.AreEqual("San Diego, CA", target.GetString("NodeAttributes:Name"));
            Assert.AreEqual(1223400, target.GetInteger("NodeAttributes/InitialPopulation"));
        }
        public void GetStringTest()
        {
            DemographicsSet set = DemographicsSet.CreateDemographicsSet();

            set.AddLayer("layer1.compiled.json");
            var          param0   = new PrivateObject(set.GetNodeData(1970));
            var          target   = new NodeData_Accessor(param0);
            const string expected = "Milwaukee, WI";
            const string key      = "NodeAttributes:Name";
            string       actual   = target.GetString(key);

            Assert.AreEqual(expected, actual);
        }