def METHOD_NAME(self):
    g = cubic(shape=[3, 2, 1])
    am = tools.dict_to_am(g)
    # Make sure am is symmetrical but edges have the same order
    assert np.all(am.row == np.hstack((g['edge.conns'][:, 0], g['edge.conns'][:, 1])))
    assert np.all(am.col == np.hstack((g['edge.conns'][:, 1], g['edge.conns'][:, 0])))
    assert_allclose(np.linalg.norm(am.todense()), 3.7416573867739413)