Project restart
This commit is contained in:
13
doc/examples/dummy/plot.py
Normal file
13
doc/examples/dummy/plot.py
Normal file
@@ -0,0 +1,13 @@
|
||||
import random
|
||||
import libs.testium as tm
|
||||
from libs.testium import FunctionItem
|
||||
|
||||
def random_value():
|
||||
return random.random()
|
||||
|
||||
class LastValues(FunctionItem):
|
||||
def exec(self, name):
|
||||
res = tm.last_plot_value(name)
|
||||
self.reportValue('my_reported_value', res)
|
||||
print("Last plot value: {}".format(res))
|
||||
return res
|
||||
Reference in New Issue
Block a user