# Check the result of trick.get_num_data_record_groups()
TRICK_EXPECT_EQ(num_drgs,4,test_suite,"num of dr groups = 4")
# Test trick.get_data_record_group(<drg_name>) for getting the drg pointer by its name
# Check the name of the obtained drg instead of the drg pointer
foriinrange(num_drgs):
TRICK_EXPECT_EQ(trick.get_data_record_group(dr_file_name_drg_name_tuple[i][1]).get_group_name(),dr_file_name_drg_name_tuple[i][1],test_suite,"get drg by name "+dr_file_name_drg_name_tuple[i][1])
# Test trick.get_data_record_group_by_idx(<drg_idx) for getting the drg pointer by its id number
# Check the name of the obtained drg instead of the drg pointer
foriinrange(num_drgs):
TRICK_EXPECT_EQ(trick.get_data_record_group_by_idx(i).get_group_name(),dr_file_name_drg_name_tuple[i][1],test_suite,"get drg by drg id "+str(i))