From 2c5c90e3c146bdc54ea1a4434f39ab36a6ca6601 Mon Sep 17 00:00:00 2001 From: Nate Koenig Date: Tue, 15 Oct 2024 11:09:20 -0700 Subject: [PATCH] Update src/Root_TEST.cc Co-authored-by: Steve Peters Signed-off-by: Nate Koenig --- src/Root_TEST.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Root_TEST.cc b/src/Root_TEST.cc index 3b8b2929b..5bbc6d4a0 100644 --- a/src/Root_TEST.cc +++ b/src/Root_TEST.cc @@ -698,6 +698,8 @@ TEST(DOMRoot, ClearActorLightModel) sdf::Model model1; model1.SetName("model1"); root.SetModel(model1); + EXPECT_EQ(nullptr, root.Actor()); + EXPECT_EQ(nullptr, root.Light()); EXPECT_NE(nullptr, root.Model()); root.ClearActorLightModel(); EXPECT_EQ(nullptr, root.Model());