code: def test_set_length(self):
      model = TextCNNModel(1, default_dict, 1)
      self.assertEqual(model.seq_length, max(model.kernel_sizes))
  
      large_length = 500
      model = TextCNNModel(1, default_dict, large_length)
      self.assertEqual(model.seq_length, large_length)
  
imports: import unittest
  import pytest
label_desc: Use image node_id 1 for calling the TestTextCNNModel obj's underlying member method code with example usage: obj.test_set_length() without return types