mirror of
https://github.com/FyroxEngine/Fyrox.git
synced 2026-10-12 02:02:20 +00:00
fixed tests
This commit is contained in:
@@ -355,9 +355,7 @@ mod test {
|
||||
#[test]
|
||||
fn test_joint_2d_inheritance() {
|
||||
let parent = JointBuilder::new(BaseBuilder::new())
|
||||
.with_params(JointParams::BallJoint(BallJoint {
|
||||
limits_angles: -1.57..1.57,
|
||||
}))
|
||||
.with_params(JointParams::BallJoint(BallJoint::default()))
|
||||
.build_node();
|
||||
|
||||
let mut child = JointBuilder::new(BaseBuilder::new()).build_joint();
|
||||
|
||||
+1
-3
@@ -406,9 +406,7 @@ mod test {
|
||||
#[test]
|
||||
fn test_joint_inheritance() {
|
||||
let parent = JointBuilder::new(BaseBuilder::new())
|
||||
.with_params(JointParams::BallJoint(BallJoint {
|
||||
limits_angles: -1.57..1.57,
|
||||
}))
|
||||
.with_params(JointParams::BallJoint(BallJoint::default()))
|
||||
.build_node();
|
||||
|
||||
let mut child = JointBuilder::new(BaseBuilder::new()).build_joint();
|
||||
|
||||
Reference in New Issue
Block a user