(features_dict, example, expected_encoded_example)
| 436 | ], |
| 437 | ) |
| 438 | def test_encode_example(features_dict, example, expected_encoded_example): |
| 439 | features = Features(features_dict) |
| 440 | encoded_example = features.encode_example(example) |
| 441 | assert encoded_example == expected_encoded_example |
| 442 | |
| 443 | |
| 444 | def test_encode_batch_with_example_with_empty_first_elem(): |
nothing calls this directly
no test coverage detected