Skip to content

Commit

Permalink
[MultiverseFallschoolChanges] rebased on dev to have a linear history.
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelrhmanBassiouny committed Dec 3, 2024
1 parent 630965c commit 87fde07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pycram/datastructures/dataclasses.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
from abc import ABC, abstractmethod
from copy import deepcopy, copy
from dataclasses import dataclass, fields
from dataclasses import dataclass, fields, field

import numpy as np
import trimesh
Expand Down
8 changes: 4 additions & 4 deletions test/test_task_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ def test_tree_creation(self):
# self.tearDownBulletWorld()
tt = pycram.tasktree.task_tree

self.assertEqual(16, len(tt.root))
self.assertEqual(11, len(tt.root.leaves))
self.assertEqual(15, len(tt.root))
self.assertEqual(10, len(tt.root.leaves))

# check that all nodes succeeded
for node in anytree.PreOrderIter(tt.root):
Expand Down Expand Up @@ -74,8 +74,8 @@ def test_simulated_tree(self):
self.plan()
tt = pycram.tasktree.task_tree

self.assertEqual(16, len(tt.root))
self.assertEqual(11, len(tt.root.leaves))
self.assertEqual(15, len(tt.root))
self.assertEqual(10, len(tt.root.leaves))

self.assertEqual(len(pycram.tasktree.task_tree), 1)

Expand Down

0 comments on commit 87fde07

Please sign in to comment.