Ejemplo n.º 1
0
    def n_check_data(self):
        n_nitrishape = self.n_data.roots[0].children[0]
        n_gen_geometry.n_check_trishape(n_nitrishape)

        nose.tools.assert_equal(n_nitrishape.num_properties, 1)
        n_mat_prop = n_nitrishape.properties[0]
        n_gen_material.n_check_material_block(n_mat_prop)
        n_gen_material.n_check_material_property(n_mat_prop)
Ejemplo n.º 2
0
    def n_check_data(self):
        n_nitrishape = self.n_data.roots[0].children[0]
        n_gen_geometry.n_check_trishape(n_nitrishape)

        # check we have property and correct type
        nose.tools.assert_equal(n_nitrishape.num_properties, 1)
        n_mat_prop = n_nitrishape.properties[0]        
        n_gen_material.n_check_material_block(n_mat_prop)
        
        # check its values
        n_gen_material.n_check_material_gloss_property(n_mat_prop)