class_docstr: Tests test shuffling.
class_docstr_tok: ["Tests","test","shuffling","."]
code: def _VerifyTestCasesDoNotInterleave(self, tests):
      test_cases = []
      for test in tests:
          [test_case, _] = test.split(".")
          if test_cases and test_cases[-1] != test_case:
              test_cases.append(test_case)
              self.assertEqual(
                  1,
                  test_cases.count(test_case),
                  "Test case %s is not grouped together in %s"
                  % (test_case, tests),
              )
  
imports: import os
  from googletest.test import gtest_test_utils
label_desc: Use image node_id 9 for calling the GTestShuffleUnitTest obj's underlying member method code with example usage: obj._VerifyTestCasesDoNotInterleave(tests) without return types