예제 #1
0
    def testCircleMetaData(self):
        test_obj=metadata_converter("",data.circle_metaData_input)
	ngb_circleMetaData=test_obj.circle_type() 
        self.assertEqual(ngb_circleMetaData,data.circle_metaData_output) 
예제 #2
0
 def test_domainMetaDataWithpolygon_withoutVertices(self):
     test_obj=metadata_converter("",data.domainMetaData_with_polygon_withoutVertices_input)
     ngb_polygonMetaData=test_obj.polygon_type()
     self.assertEqual(ngb_polygonMetaData,data.domainMetaData_with_polygon_withoutVertices_output) 
예제 #3
0
 def test_get_coordinate(self):
     test_obj=metadata_converter("",data.point_metaData) 
     coordinate=test_obj.get_coordinate(data.get_coordinate_input) 
     self.assertEqual(coordinate,data.get_coordinate_output)
예제 #4
0
 def test_get_coordinate_withoutTypeValue(self):
     test_obj=metadata_converter("",data.get_coordinate_input_forWithoutTypeValue)
     coordinate=test_obj.get_coordinate(data.get_coordinate_input_forWithoutTypeValue)
     self.assertEqual(coordinate,data.get_coordinate_output_forWithoutTypeValue)    
예제 #5
0
 def test_for_pointMetadata(self):
     test_obj=metadata_converter("",data.point_metaData)
     ngb_pointMetaData=test_obj.point_type()
     self.assertEqual(ngb_pointMetaData,data.ngb_pointMetaDataOutput)