templates.test_void

 1import smartpy as sp
 2
 3
 4@sp.module
 5def main():
 6    class C1(sp.Contract):
 7        pass
 8
 9    class C2(sp.Contract):
10        @sp.entrypoint
11        def ep(self):
12            pass
13
14
15@sp.add_test()
16def test():
17    scenario = sp.test_scenario("Void", main)
18    scenario.h1("Void / Unit")
19    scenario += main.C1()
20    scenario += main.C2()