Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 3rdparty/libcitygml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,10 @@ public void AsInt_Returns_GML_Value()
[TestMethod]
public void AsBool_Returns_GML_Value()
{
const string parentKey = "uro:buildingDetails";
const string childKey = "energy:isHeated";
const bool valueInGmlFile = true;
var parentVal = attrMap[parentKey];
var parentVal = attrMap["uro:buildingDetails"].AsAttrSet["uro:BuildingDetails"];
var children = parentVal.AsAttrSet;
bool actualVal = children[childKey].AsBool;
bool actualVal = children["energy:isHeated"].AsBool;
Assert.AreEqual(valueInGmlFile, actualVal);
}
}
Expand Down
Loading