# Path: gridded/tests/test_ugrid/utilities.py
# @pytest.fixture
# def two_triangles():
#     """
#     Returns a simple triangular grid: 4 nodes, two triangles, five edges.
# 
#     """
#     nodes = [(0.1, 0.1),
#              (2.1, 0.1),
#              (1.1, 2.1),
#              (3.1, 2.1)]
# 
#     faces = [(0, 1, 2),
#              (1, 3, 2), ]
# 
#     edges = [(0, 1),
#              (1, 3),
#              (3, 2),
#              (2, 0),
#              (1, 2)]
# 
#     return ugrid.UGrid(nodes=nodes, faces=faces, edges=edges)


import numpy as np
import pytest
from .utilities import two_triangles
#!/usr/bin/env python

"""
Tests for adding a data attribute to a UGrid object.

"""


from __future__ import (absolute_import, division, print_function)


# from gridded.pyugrid import UVar



pytestmark = pytest.mark.skipif(True, reason="gridded does not support UVars anymore")

#pytest.mark.skipif(True, "gridded does not support UVars anymore")



# Path: gridded/tests/test_ugrid/utilities.py
# @pytest.fixture
# def two_triangles():
#     """
#     Returns a simple triangular grid: 4 nodes, two triangles, five edges.
# 
#     """
#     nodes = [(0.1, 0.1),
#              (2.1, 0.1),
#              (1.1, 2.1),
#              (3.1, 2.1)]
# 
#     faces = [(0, 1, 2),
#              (1, 3, 2), ]
# 
#     edges = [(0, 1),
#              (1, 3),
#              (3, 2),
#              (2, 0),
#              (1, 2)]
# 
#     return ugrid.UGrid(nodes=nodes, faces=faces, edges=edges)


# Path: gridded/tests/test_ugrid/test_add_data.py
import numpy as np
import pytest
from .utilities import two_triangles

#!/usr/bin/env python

"""
Tests for adding a data attribute to a UGrid object.

"""


from __future__ import (absolute_import, division, print_function)


# from gridded.pyugrid import UVar



pytestmark = pytest.mark.skipif(True, reason="gridded does not support UVars anymore")

#pytest.mark.skipif(True, "gridded does not support UVars anymore")



def test_add_all_data(two_triangles):