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]))
def test_dos_data_msonable(dos_data_list): dos_data, _, _ = dos_data_list assert_msonable(dos_data)
def test_msonable(diele_func_data): assert_msonable(diele_func_data)
def test_pdos_msonable(orbitals): pdos = PDos(**orbitals) assert_msonable(pdos)
def test_task_msonable(): assert_msonable(Task.dos)
def test_site_msonable(site): assert_msonable(site)
def test_bz_plot_info(bz_plot_info): assert_msonable(bz_plot_info)
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)
def test_band_plot_info_msonable(band_info, band_plot_info): assert_msonable(band_edge) assert_msonable(band_info) assert_msonable(band_plot_info)
def test_task_msonable(): assert_msonable(Xc.pbe)