def test_common_action_prefix_unequal():
    this = [ActionExecuted('action_listen'), ActionExecuted('greet'), UserUttered('hey')]
    other = [ActionExecuted('greet'), ActionExecuted('action_listen'), UserUttered('hey')]
    num_common = visualization._length_of_common_action_prefix(this, other)
    assert (num_common == 0)
def test_common_action_prefix_unequal():
    this = [ActionExecuted('action_listen'), ActionExecuted('greet'), UserUttered('hey')]
    other = [ActionExecuted('greet'), ActionExecuted('action_listen'), UserUttered('hey')]
    num_common = visualization._length_of_common_action_prefix(this, other)
    assert (num_common == 0)