Skip to content

Commit

Permalink
add liquid test
Browse files Browse the repository at this point in the history
  • Loading branch information
srmnitc committed Oct 26, 2020
1 parent c780cfd commit d2541bc
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/test_liquid_avg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import pytest
from pytint.input import read_yamlfile
import pytint.lattice as pl
from pytint.liquid import Liquid
import os
import numpy as np

def test_liquid_averaging():
options = read_yamlfile("tests/input.yaml")
lqd = Liquid(t=1000, p=0, l="fcc", apc=4,
alat=4.05, c=0.0, options=options, simfolder=os.getcwd(),
thigh=1500)
lqd.write_average_script()
assert os.path.exists("traj.dat") == True

0 comments on commit d2541bc

Please sign in to comment.