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)
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)
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)
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)
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)