How mixed condition deal in fem through free fem coding

How free fem coding working for mixed and Neumann condition?

Can it be possible to implement the mixed boundary conditions in DG? I have implemented similar to continuous Galerkin but I did not get the good error at all neither solution. Is there a way to implement the Neumann boundary in the finite element spaces?