QUnit.test('Column pyramid series', function (assert) {
    var chart = Highcharts.chart('container', {
        chart: {
            renderTo: 'container',
            type: 'columnpyramid'
        },
        series: [
            {
                data: [10, 20, 5]
            }
        ]
    });

    assert.ok(
        chart.series[0].points[1].graphic.d &&
            chart.series[0].points[1].graphic !== 'rect',
        'Shapes are paths - pyramids'
    );
});

QUnit.test('Column pyramid series - 0 dataLabel #12514', function (assert) {
    var chart = Highcharts.chart('container', {
        chart: {
            type: 'columnpyramid'
        },
        plotOptions: {
            series: {
                dataLabels: {
                    enabled: true
                }
            }
        },
        series: [
            {
                data: [
                    ['Pyramid of Khufu', 138.8],
                    ['Pyramid of Khafre', 0],
                    ['Red Pyramid', 104]
                ]
            }
        ]
    });
    var testedLabel = chart.series[0].points[1].dataLabel;

    assert.strictEqual(
        Number.isNaN(testedLabel.alignAttr.x),
        false,
        'Label alignAttr.x should be a number #12514'
    );

    assert.strictEqual(
        testedLabel.translateY !== -9999,
        true,
        'Label should be translated and had different position translate attributes than starting values #12514'
    );
});
