diff --git a/3rdparty/libcitygml b/3rdparty/libcitygml index c1dde5ae..b9b85aba 160000 --- a/3rdparty/libcitygml +++ b/3rdparty/libcitygml @@ -1 +1 @@ -Subproject commit c1dde5ae2839784c165840cbd84b8e93773b3e80 +Subproject commit b9b85aba88c238eb5cac9aa987dca8bb00255c1f diff --git a/wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs b/wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs index 11034939..12e076ba 100644 --- a/wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs +++ b/wrappers/csharp/LibPLATEAU.NET/CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs @@ -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); } }