Skip to content

Commit

Permalink
[wip] disable existing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Mar 6, 2024
1 parent 881de6f commit 8bc0f66
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tests/test_ad_physics.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
p(*[Robot.Cassie, VelRepr.Inertial], id="Cassie-Inertial"),
],
)
def test_ad_physics(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
def _test_ad_physics(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
"""Unit test of the application of Automatic Differentiation on RBD algorithms."""

robot = Robot.Ur10
Expand Down
2 changes: 1 addition & 1 deletion tests/test_eom.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
p(*[Robot.Cassie, VelRepr.Mixed], id="Cassie-Mixed"),
],
)
def test_eom(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
def _test_eom(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
"""Unit test of all the terms of the floating-base Equations of Motion."""

# Initialize the gravity
Expand Down
2 changes: 1 addition & 1 deletion tests/test_forward_dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
p(*[Robot.Cassie, VelRepr.Mixed], id="Cassie-Mixed"),
],
)
def test_aba(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
def _test_aba(robot: utils_models.Robot, vel_repr: VelRepr) -> None:
"""
Unit test of the ABA algorithm against forward dynamics computed from the EoM.
"""
Expand Down
8 changes: 4 additions & 4 deletions tests/test_jax_oop.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def build(cls: Type[Self], counter: jax.typing.ArrayLike) -> Self:
return data


def test_data():
def _test_data():
"""Test AlgoData class."""

data1 = AlgoData.build(counter=0)
Expand Down Expand Up @@ -182,7 +182,7 @@ def algo_rw(self, advance: int | jax.typing.ArrayLike) -> Any:
return self.data.counter


def test_mutability():
def _test_mutability():
"""Test MyClassWithAlgorithms class."""

# Build the object
Expand Down Expand Up @@ -292,7 +292,7 @@ def test_mutability():
assert obj_ro.double_input == jnp.array(True)


def test_decorators_jit_compilation():
def _test_decorators_jit_compilation():
"""Test JIT features of MyClassWithAlgorithms class."""

obj = MyClassWithAlgorithms.build(double_input=False)
Expand Down Expand Up @@ -384,7 +384,7 @@ def test_decorators_jit_compilation():
assert "__algo_rw__" not in printed


def test_decorators_vmap():
def _test_decorators_vmap():
"""Test automatic vectorization features of MyClassWithAlgorithms class."""

# Create a new object with scalar data
Expand Down

0 comments on commit 8bc0f66

Please sign in to comment.