def METHOD_NAME(sx, qapp_utils):
    """Test points3d function"""
    x = numpy.random.random(1024)
    y = numpy.random.random(1024)
    z = numpy.random.random(1024)
    values = numpy.random.random(1024)
    # 3D positions, no value
    window = sx.points3d(x, y, z)
    if not window.getSceneWidget().isValid():
        del window  # Release widget reference
        pytest.skip("OpenGL context is not valid")
    # 3D positions, values
    window = sx.points3d(x, y, z, values, mode='2dsquare',
                         colormap='magma', vmin=0.4, vmax=0.5)
    # 2D positions, no value
    window = sx.points3d(x, y)
    # 2D positions, values
    window = sx.points3d(x, y, values=values, mode=',',
                         colormap='magma', vmin=0.4, vmax=0.5)