Skip to content

Commit

Permalink
[tests] fixed object designator test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidprueser committed Jan 5, 2024
1 parent c4d6122 commit af9e3e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_object_designator.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ def test_object_grounding(self):
self.assertEqual(obj.name, "milk")
self.assertEqual(obj.type, ObjectType.MILK)

def test_data_copy(self):
def test_frozen_copy(self):
description = ObjectDesignatorDescription(["milk"], [ObjectType.MILK])
obj = description.ground()

data_copy = obj.data_copy()
self.assertEqual(obj.pose, data_copy.pose)
frozen_copy = obj.frozen_copy()
self.assertEqual(obj.pose, frozen_copy.pose)


if __name__ == '__main__':
Expand Down

0 comments on commit af9e3e6

Please sign in to comment.