docstr: Test generate_random_sequences.
docstr_tok: ["Test","generate_random_sequences","."]
code: def test_generate_random_sequences(self):
      """Test generate_random_sequences."""
      # Test when n is larger than total number of possible sequences.
      seqs = gs.generate_random_sequences(
          ["A", "b", "c"], "{}+{}", 10, seed=27
      )
      expected_seqs = [
          "A+c",
          "c+c",
          "b+b",
          "A+b",
          "b+c",
          "c+A",
          "c+b",
          "A+A",
          "b+A",
      ]
      self.assertEqual(seqs, expected_seqs)
  
      # Test when n is smaller than total number of possible sequences.
      seqs = gs.generate_random_sequences(
          list("01234"), "prefix {}{}{}?", 8, seed=9
      )
      expected_seqs = [
          "prefix 143?",
          "prefix 031?",
          "prefix 302?",
          "prefix 042?",
          "prefix 404?",
          "prefix 024?",
          "prefix 021?",
          "prefix 403?",
      ]
      self.assertEqual(seqs, expected_seqs)
  
imports: from absl.testing import absltest
  from tensorflow_privacy.privacy.privacy_tests.secret_sharer import generate_secrets
label_desc: Use image node_id 2 for calling the UtilsTest obj's underlying member method code with example usage: obj.test_generate_random_sequences() without return types