def METHOD_NAME(alphas, target_labels, lam, expected_loss):
    """
    Test on the dirichlet loss function for classification.
    Note these values were not hand derived, just testing for
    dimensional consistency.
    """
    loss = dirichlet_class_loss(alphas, target_labels, lam=lam)
    np.testing.assert_array_almost_equal(loss, expected_loss)