text: #
  # Test leading convection submodel
  #
  
  import pybamm
  import tests
  import unittest
  
  
  class TestLeadingOrder(unittest.TestCase):
      def test_public_functions(self):
          param = pybamm.standard_parameters_lead_acid
  
          a = pybamm.Scalar(0)
          variables = {
              "Current collector current density": a,
              "X-averaged negative electrode interfacial current density": a,
              "X-averaged positive electrode interfacial current density": a,
          }
          submodel = pybamm.convection.LeadingOrder(param)
          std_tests = tests.StandardSubModelTests(submodel, variables)
          std_tests.test_all()
  
  
  if __name__ == "__main__":
      print("Add -v for more debug output")
      import sys
  
      if "-v" in sys.argv:
          debug = True
      pybamm.settings.debug_mode = True
      unittest.main()
  