-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Robert Paton
authored and
Robert Paton
committed
Aug 12, 2019
1 parent
5f4c0c3
commit 07c401d
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
import os | ||
import pytest | ||
import math | ||
from pyqrc import pyQRC as QRC | ||
from conftest import datapath | ||
|
||
python -m pyqrc acetaldehyde.log --nproc 4 --mem 8GB | ||
|
||
@pytest.mark.parametrize("path, nproc, mem", [ | ||
('acetaldehyde.log', 4, '8GB'), | ||
]) | ||
def test_QRC(path, nproc, mem): | ||
amplitude = 0.2 | ||
route = None | ||
verbose = True | ||
suffix = 'QRC' | ||
qrc = QRC.gen_qrc(path, amplitude, nproc, mem, route, verbose, suffix) |