code: def gen_test_multi_get_line(self, kwargs):
      data = get_random_data(100)
      model1 = build_supervised_model(data, kwargs)
      model2 = build_unsupervised_model(data, kwargs)
      lines1 = []
      lines2 = []
      for line in data:
          words, labels = model1.get_line(line)
          lines1.append(words)
          self.assertEqual(len(labels), 0)
          words, labels = model2.get_line(line)
          lines2.append(words)
          self.assertEqual(len(labels), 0)
      all_lines1, all_labels1 = model1.get_line(data)
      all_lines2, all_labels2 = model2.get_line(data)
      self.assertEqual(lines1, all_lines1)
      self.assertEqual(lines2, all_lines2)
      for labels in all_labels1:
          self.assertEqual(len(labels), 0)
      for labels in all_labels2:
          self.assertEqual(len(labels), 0)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from fasttext import train_supervised
  from fasttext import train_unsupervised
  from fasttext import util
  import fasttext
  import os
  import subprocess
  import unittest
  import tempfile
  import random
  import sys
  import copy
  import numpy
  from fasttext.tests.test_configurations import get_supervised_models
label_desc: Use image node_id 2 for calling the TestFastTextUnitPy obj's underlying member method code with example usage: obj.gen_test_multi_get_line(kwargs) without return types