use glam_det::nums::f32x4;
use glam_det::{UnitQuatx4, Vec3x4};
use paste::paste;
use test::Bencher;
use crate::collision_tasks::benches::common::{BenchShapePairTest, WithContainer};
use crate::collision_tasks::tests::common::TestInput;
use crate::collision_tasks::ShapeWideTester;
use crate::convex_contact_manifold::Convex4ContactManifoldWide;
use crate::shapes::{CapsuleWide, SphereWide};
use crate::traits::PairWideTest;
use crate::{Capsule, ShapeContainer, Sphere};
struct SphereCapsuleBench;
impl_bench!(
SphereCapsuleBench,
SphereWide,
CapsuleWide,
Convex4ContactManifoldWide,
1
);
type InputType = TestInput<Sphere, Capsule>;
bench!(InputType,SphereCapsuleBench,"sphere_capsule/",
<0,close_at_cylindrical_part>,
<0,close_at_hemispherical_end>,
<0,coincide>,
<0,nocollide>,
<0,penetrate_at_cylindrical_part>,
<0,penetrate_at_hemispherical_end>,
<0,random>,
<0,tangent_at_cylindrical_part>,
<0,tangent_at_hemispherical_end>
);