Skip to content
Snippets Groups Projects
Commit 2a6cc0c6 authored by Daniel Brown's avatar Daniel Brown
Browse files

Adding in test files, building test folder up for continuous integration testing later

parent b310015f
Branches
No related tags found
No related merge requests found
......@@ -30,10 +30,10 @@ assert(kat0.o1.f1 is not kat1.o1.f1)
assert(kat0.o1.f1 == kat1.o1.f1)
kat0.o1.f1 *= 2
kat0.o1.phi1 *= 2
kat0.o1.phase1 *= 2
assert(isinstance(kat0.o1.f1, pykat.param.Param))
assert(isinstance(kat0.o1.phi1, pykat.param.Param))
assert(isinstance(kat0.o1.phase1, pykat.param.Param))
assert(kat0.o1.f1 != kat1.o1.f1)
kat1.o1.num_demods = 2
......
......@@ -15,8 +15,8 @@ assert(kat.pdr.f1 == 100)
assert(type(kat.pdr.f1) is pykat.param.Param)
kat.pdr.phi1 = "10u"
assert(kat.pdr.phi1 == 1e-5)
assert(type(kat.pdr.phi1) is pykat.param.Param)
assert(kat.pdr.phase1 == 1e-5)
assert(type(kat.pdr.phase1) is pykat.param.Param)
kat.m1.R = "10000u"
assert(kat.m1.R == 0.01)
......@@ -27,7 +27,7 @@ kat = deepcopy(kat)
kat.m1.R = 0.9
assert(kat.m1.R == 0.9)
kat.pdr.phi1 = 20
assert(kat.pdr.phi1 == 20)
kat.pdr.phase1 = 20
assert(kat.pdr.phase1 == 20)
print "PASSED"
\ No newline at end of file
print("PASSED")
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment