public void TestHBObjectName() { string objName = "zone_1"; string objType = "HBZone"; var PyHBObject = setPyObject(objName, objType); var HBObject = new HBZone(PyHBObject); Assert.AreEqual("zone_1", HBObject.Name); }
public void TestHBObjectType_HBZone() { //Assemble string objName = "zone_1"; string objType = "HBZone"; var PyHBObject = setPyObject(objName, objType); //Act var HBObject = new HBZone(PyHBObject); var expectedResult = HBType.HBZone; var acturalResult = HBObject.ObjectType; //Assert Assert.AreEqual(expectedResult, acturalResult); }