def METHOD_NAME(self):
    g = cubic(shape=[3, 2, 1])
    g['edge.conns'][1, :] = [1, 0]
    am = tools.dict_to_am(g)
    # Make sure edges in am are untouched
    assert np.all(am.row == g['edge.conns'][:, 0])
    assert np.all(am.col == g['edge.conns'][:, 1])
    assert_allclose(np.linalg.norm(am.todense()), 2.6457513110645907)