public SlitherFrameNormalizerTests()
        {
            _slitherFrameNormalizer = new SlitherFrameNormalizer();

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }
Ejemplo n.º 2
0
        public FoodSliceProcessorTests()
        {
            _foodSliceProcessor = new FoodSliceProcessor(new CollisionService());

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }
Ejemplo n.º 3
0
        public BadCollisionSliceProcessorTests()
        {
            _badCollisionSliceProcessor = new BadCollisionSliceProcessor(new CollisionService());

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }
        public CollisionSliceProcessorTests()
        {
            _collisionSliceProcessor = new CollisionSliceProcessor(new FoodSliceProcessor(new CollisionService()), new BadCollisionSliceProcessor(new CollisionService()), new SelfSliceProcessor(new CollisionService()));

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }
Ejemplo n.º 5
0
        public CollisionMapProcessorTests()
        {
            _collisionMapProcessor = new CollisionMapProcessor(new CollisionMapResolutionProcessor(new CollisionSliceProcessor(new FoodSliceProcessor(new CollisionService()), new BadCollisionSliceProcessor(new CollisionService()), new SelfSliceProcessor(new CollisionService()))), new SlitherFrameNormalizer());

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }
        public SelfSliceProcessorTests()
        {
            _selfSliceProcessor = new SelfSliceProcessor(new CollisionService());

            var testFrame = new TestFrame();

            _slitherFrame = testFrame.GetTestFrame();
        }