コード例 #1
0
def test_internalpopulation_df():
    i1 = InternalPopulation(v_min=0, v_max=.02)
    i2 = InternalPopulation(**dict_from_df(i1.to_df()))
    compare_dicts(i1.to_dict(), i2.to_dict())
コード例 #2
0
ファイル: test_pandas.py プロジェクト: nicain/dipde_dev
def test_internalpopulation_df():
    i1 = InternalPopulation(v_min=0, v_max=0.02)
    i2 = InternalPopulation(**dict_from_df(i1.to_df()))
    compare_dicts(i1.to_dict(), i2.to_dict())
コード例 #3
0
def test_enternalpopulation_df():
    e1 = ExternalPopulation(100)
    e2 = ExternalPopulation(**dict_from_df(e1.to_df()))
    compare_dicts(e1.to_dict(), e2.to_dict())
コード例 #4
0
ファイル: test_pandas.py プロジェクト: nicain/dipde_dev
def test_enternalpopulation_df():
    e1 = ExternalPopulation(100)
    e2 = ExternalPopulation(**dict_from_df(e1.to_df()))
    compare_dicts(e1.to_dict(), e2.to_dict())