namespace Chernobyl.Mathematics.Collision { /// /// A reusable test fixture base class that tests /// types. /// /// The type of /// contained within the /// to be /// tested. /// The type of /// that can collide with the /// s contained in the /// to be /// tested. public abstract class CollidableCollectionTests : CollidableEnumerableTests where TContainedCollidable : IExtendedCollidable { /// /// Creates an /// that is to be tested. This collision group create should have at least /// the number of items specified by /// /// of s contained within it. /// /// The /// that is to be tested. protected abstract ICollidableCollection CreateCollidableCollection(); protected override ICollidableEnumerable CreateCollidableEnumerable() { return CreateCollidableCollection(); } } }