def test_check_layer_operation_2d3d_good(self):
        """Ensures correct output from _check_layer_operation.

        In this case, radar images are 2D/3D and the dictionary is correctly
        formatted.
        """

        input_examples._check_layer_operation(
            example_dict=EXAMPLE_DICT_2D3D_ORIG,
            operation_dict=OPERATION_DICT_2D3D_GOOD)
    def test_check_layer_operation_2d3d_bad(self):
        """Ensures correct output from _check_layer_operation.

        In this case, radar images are 2D/3D and the dictionary is *not*
        correctly formatted.
        """

        with self.assertRaises(ValueError):
            input_examples._check_layer_operation(
                example_dict=EXAMPLE_DICT_2D3D_ORIG,
                operation_dict=OPERATION_DICT_2D3D_BAD)