We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed37805 commit 115dd9fCopy full SHA for 115dd9f
wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs
@@ -81,12 +81,10 @@ public void AsInt_Returns_GML_Value()
81
[TestMethod]
82
public void AsBool_Returns_GML_Value()
83
{
84
- const string parentKey = "uro:buildingDetails";
85
- const string childKey = "energy:isHeated";
86
const bool valueInGmlFile = true;
87
- var parentVal = attrMap[parentKey];
+ var parentVal = attrMap["uro:buildingDetails"].AsAttrSet["uro:BuildingDetails"];
88
var children = parentVal.AsAttrSet;
89
- bool actualVal = children[childKey].AsBool;
+ bool actualVal = children["energy:isHeated"].AsBool;
90
Assert.AreEqual(valueInGmlFile, actualVal);
91
}
92
0 commit comments