예제 #1
0
파일: test_table.py 프로젝트: hainm/chemlab
def test_atomic_weight():
    feq_(atomic_weight('H'), 1.00794)
    npeq_(atomic_weight(['O', 'H', 'H']), [15.9994, 1.00794, 1.00794])
예제 #2
0
def test_vdw_radius():
    feq_(vdw_radius('H'), 0.11)
    npeq_(vdw_radius(['O', 'H', 'H']), [0.152, 0.11, 0.11])
예제 #3
0
파일: test_table.py 프로젝트: hainm/chemlab
def test_vdw_radius():
    feq_(vdw_radius('H'), 0.11)
    npeq_(vdw_radius(['O', 'H', 'H']), [0.152, 0.11, 0.11])
예제 #4
0
def test_atomic_weight():
    feq_(atomic_weight('H'), 1.00794)
    npeq_(atomic_weight(['O', 'H', 'H']), [15.9994, 1.00794, 1.00794])