From ed3780594da9c12e03a434b10d0b26ad33ae0489 Mon Sep 17 00:00:00 2001 From: Linoal <1321932+linoal@users.noreply.github.com> Date: Mon, 10 Mar 2025 22:17:45 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Description=E3=83=8E=E3=83=BC=E3=83=89?= =?UTF-8?q?=E3=81=8C=E5=B1=9E=E6=80=A7=E6=83=85=E5=A0=B1=E3=81=AE=E5=85=A5?= =?UTF-8?q?=E3=82=8C=E5=AD=90=E5=86=85=E3=81=AB=E5=AD=98=E5=9C=A8=E3=81=99?= =?UTF-8?q?=E3=82=8B=E3=82=B1=E3=83=BC=E3=82=B9=E3=81=AB=E5=AF=BE=E5=BF=9C?= =?UTF-8?q?=E3=80=82gml=E5=90=8D=E3=81=8C=E5=A4=A7=E6=96=87=E5=AD=97?= =?UTF-8?q?=E3=81=A7=E5=A7=8B=E3=81=BE=E3=82=8B=E3=82=B1=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=81=AB=E5=AF=BE=E5=BF=9C=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 3rdparty/libcitygml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 115dd9f6a427fbc93ea7d223ca023f141abe1615 Mon Sep 17 00:00:00 2001 From: Linoal <1321932+linoal@users.noreply.github.com> Date: Mon, 10 Mar 2025 23:17:13 +0900 Subject: [PATCH 2/2] fix test --- .../CSharpPLATEAU.Test/CityGML/NativeAttributeValueTests.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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); } }