File: test_mesh.py

package info (click to toggle)
pywavefront 1.3.3-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,112 kB
  • sloc: python: 1,586; makefile: 3
file content (11 lines) | stat: -rw-r--r-- 259 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
import unittest

import pywavefront.mesh


class TestMesh(unittest.TestCase):

    def testMeshName(self):
        "Creating a mesh with a name should set the name."
        my_mesh = pywavefront.mesh.Mesh('qax')
        self.assertEqual(my_mesh.name, 'qax')