tests.recipes.cad1.task2.data_preparation package

Submodules

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata module

Tests for the build_scene_metadata.py script

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_get_random_car_params()[source]

Test that the function returns a dictionary with the expected keys

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_get_random_head_rotation()[source]

Test that the function returns a random item from the dictionary

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_get_random_snr()[source]

Test get_random_snr

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_read_json(json_file, expected)[source]

Test that the function reads the json file correctly

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_run()[source]

Test run

tests.recipes.cad1.task2.data_preparation.test_build_scene_metadata.test_set_seed()[source]

Test that the seed is set correctly

Module contents