def test_supercell_simple(get_model, t_values, supercell_size, sparse):
    """
    Test that the eigenvalues from a supercell model match the folded
    eigenvalues of the base model, for a simple model.
    """
    model = get_model(*t_values, sparse=sparse)
    supercell_model = model.supercell(size=supercell_size)
    for k in KPT:
        ev_supercell = supercell_model.eigenval(k)
        equivalent_k = get_equivalent_k(k, supercell_size)
        ev_folded = np.sort(
            np.array([model.eigenval(kval) for kval in equivalent_k]).flatten()
        )
        assert ev_supercell.shape == ev_folded.shape
        assert_allclose(ev_supercell, ev_folded, atol=1e-7)