예제 #1
0
 def _test(v):
     assert v.pmixturecoef in Range(0, 1), "Invalid mixture coef"
     assert v.rate in Positive(), "Invalid rate"
예제 #2
0
 def _test(v):
     assert v.umixturecoef in Range(0, 1), "Invalid mixture coef"