Exemple #1
0
def test_band_edge_msonable():
    assert_msonable(
        BandEdge(energy=0.0,
                 spin=Spin.up,
                 band_index=0,
                 kpoint_index=1,
                 kpoint_coords=[0.0, 0.0, 0.0]))
Exemple #2
0
def test_dos_data_msonable(dos_data_list):
    dos_data, _, _ = dos_data_list
    assert_msonable(dos_data)
Exemple #3
0
def test_msonable(diele_func_data):
    assert_msonable(diele_func_data)
Exemple #4
0
def test_pdos_msonable(orbitals):
    pdos = PDos(**orbitals)
    assert_msonable(pdos)
Exemple #5
0
def test_task_msonable():
    assert_msonable(Task.dos)
def test_site_msonable(site):
    assert_msonable(site)
Exemple #7
0
def test_bz_plot_info(bz_plot_info):
    assert_msonable(bz_plot_info)
Exemple #8
0
def test_round_trip_dict(nonmagnetic_insulator):
    assert_msonable(nonmagnetic_insulator)
def test_scene_dicts_msonable(scene_dicts, scene_dict):
    assert_msonable(scene_dicts)
    assert_msonable(scene_dict)
Exemple #10
0
def test_band_plot_info_msonable(band_info, band_plot_info):
    assert_msonable(band_edge)
    assert_msonable(band_info)
    assert_msonable(band_plot_info)
Exemple #11
0
def test_task_msonable():
    assert_msonable(Xc.pbe)