test script

This commit is contained in:
QuanyiLi
2023-05-07 15:59:38 +01:00
parent 9755d5937e
commit ac3ceab1ec
6 changed files with 103 additions and 5 deletions

View File

@@ -21,7 +21,8 @@ def test_combine_multiple_dataset():
summary, sorted_scenarios, mapping = read_dataset_summary(dataset_path)
for scenario_file in sorted_scenarios:
read_scenario(os.path.join(dataset_path, mapping[scenario_file], scenario_file))
verify_loading_into_metadrive(dataset_path)
success, result = verify_loading_into_metadrive(dataset_path, result_save_dir="./test_dataset")
assert success
if __name__ == '__main__':