Skip to content

Commit 7e16938

Browse files
committed
more tests
1 parent 29f29f3 commit 7e16938

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

tests/test_echo.py

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
def test_echo_experiment():
77
pytest.importorskip('kithairon')
8-
from riverine import EchoTargetConcentration
8+
from riverine import EchoTargetConcentration, EchoFixedVolume, EchoFillToVolume
99
exp = Experiment()
1010

1111
# We'll make some components:
@@ -17,7 +17,34 @@ def test_echo_experiment():
1717

1818
m = Mix(
1919
[
20-
EchoTargetConcentration([c1, c2, c3, c4], "1 nM")
20+
EchoTargetConcentration([c1, c2, c3, c4], "1 nM"),
21+
EchoFillToVolume("Buffer", "100 uL"),
22+
],
23+
"testmix", plate="destplate", well="A1"
24+
)
25+
26+
mstr = str(m)
27+
28+
exp.add(m)
29+
30+
p = exp.generate_picklist()
31+
32+
def test_echo_experiment_with_hand_fixed_volume():
33+
pytest.importorskip('kithairon')
34+
from riverine import EchoTargetConcentration, FillToVolume
35+
exp = Experiment()
36+
37+
# We'll make some components:
38+
c1 = Component("c1", "10 µM", plate="plate1", well="A1")
39+
c2 = Component("c2", "10 µM", plate="plate1", well="A2")
40+
c3 = Component("c3", "5 µM", plate="plate1", well="A3")
41+
c4 = Component("c4", "5 µM", plate="plate2", well="B3")
42+
43+
44+
m = Mix(
45+
[
46+
EchoTargetConcentration([c1, c2, c3, c4], "1 nM"),
47+
FillToVolume("Buffer", "100 uL"),
2148
],
2249
"testmix", plate="destplate", well="A1"
2350
)

0 commit comments

Comments
 (0)