Skip to content

Commit

Permalink
Merge branch 'indices_dep' of github.com:sjsrey/inequality into indic…
Browse files Browse the repository at this point in the history
…es_dep
  • Loading branch information
sjsrey committed Aug 15, 2024
2 parents e155294 + a552174 commit 9a28ef2
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions inequality/tests/test_indices.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
import numpy
import pytest

from inequality._indices import (abundance, ellison_glaeser_egg,
ellison_glaeser_egg_pop, fractionalization_gs,
gini_gi, gini_gi_m, gini_gig, herfindahl_hd,
hoover_hi, isolation_ii, isolation_isg,
margalev_md, maurel_sedillot_msg,
maurel_sedillot_msg_pop, menhinick_mi,
modified_segregation_msg, polarization,
segregation_gsg, shannon_se, similarity_w_wd,
simpson_sd, simpson_so, theil_th,
theil_th_brute)
from inequality._indices import (
abundance,
ellison_glaeser_egg,
ellison_glaeser_egg_pop,
fractionalization_gs,
gini_gi,
gini_gi_m,
gini_gig,
herfindahl_hd,
hoover_hi,
isolation_ii,
isolation_isg,
margalev_md,
maurel_sedillot_msg,
maurel_sedillot_msg_pop,
menhinick_mi,
modified_segregation_msg,
polarization,
segregation_gsg,
shannon_se,
similarity_w_wd,
simpson_sd,
simpson_so,
theil_th,
theil_th_brute,
)

x = numpy.array([[0, 1, 2], [0, 2, 4], [0, 0, 3]])

Expand Down

0 comments on commit 9a28ef2

Please sign in to comment.