old_contents: # coding=utf-8
  
  import os.path
  
  from test.pyalaocl.useocl import TEST_CASES_DIRECTORY
  from  pyalaocl.useocl.useengine import USEEngine
  
  def test_USEEngine_useVersion():
      assert(USEEngine.useVersion().startswith('3.'))
  
  def test_USEEngine_analyzeUSEModel_KO():
      file = os.path.join(TEST_CASES_DIRECTORY,
                         'use','errors','reallyEmpty.use')
      USEEngine.analyzeUSEModel(file)
      assert USEEngine.commandExitCode != 0
  
  
  def test_USEEngine_analyzeUSEModel():
      file = os.path.join(TEST_CASES_DIRECTORY,
                          'use', 'Binary1.use')
      USEEngine.analyzeUSEModel(file)
      assert USEEngine.commandExitCode == 0
  
  
new_contents: # coding=utf-8
  
  import os.path
  
  from test.pyalaocl.useocl import TEST_CASES_DIRECTORY
  from  pyalaocl.useocl.useengine import USEEngine
  
  def test_USEEngine_useVersion():
      version = USEEngine.useVersion()
      assert(version.startswith('3.') or version.startswith('4.'))
  
  def test_USEEngine_analyzeUSEModel_KO():
      file = os.path.join(TEST_CASES_DIRECTORY,
                         'use','errors','reallyEmpty.use')
      USEEngine.analyzeUSEModel(file)
      assert USEEngine.commandExitCode != 0
  
  
  def test_USEEngine_analyzeUSEModel():
      file = os.path.join(TEST_CASES_DIRECTORY,
                          'use', 'Binary1.use')
      USEEngine.analyzeUSEModel(file)
      assert USEEngine.commandExitCode == 0
  
  
subject: add version 3 or 4 (not supported yet)