def test_empty_intent_removal():
    intent_results = [IntentEvaluationResult('', 'restaurant_search', 'I am hungry', 0.12345), IntentEvaluationResult('greet', 'greet', 'hello', 0.98765)]
    intent_results = remove_empty_intent_examples(intent_results)
    assert (len(intent_results) == 1)
    assert (intent_results[0].target == 'greet')
    assert (intent_results[0].prediction == 'greet')
    assert (intent_results[0].confidence == 0.98765)
    assert (intent_results[0].message == 'hello')
def test_empty_intent_removal():
    intent_results = [IntentEvaluationResult(, 'restaurant_search', 'I am hungry', 0.12345), IntentEvaluationResult('greet', 'greet', 'hello', 0.98765)]
    intent_results = remove_empty_intent_examples(intent_results)
    assert (len(intent_results) == 1)
    assert (intent_results[0].target == 'greet')
    assert (intent_results[0].prediction == 'greet')
    assert (intent_results[0].confidence == 0.98765)
    assert (intent_results[0].message == 'hello')