12 lines
313 B
Python
12 lines
313 B
Python
import entropyk
|
|
system = entropyk.System()
|
|
|
|
def check(comp, n):
|
|
c = system.add_component(comp)
|
|
system.add_edge(c,c) # dummy
|
|
system.finalize()
|
|
eqs = system.graph.node_weight(c).n_equations()
|
|
print(f"{n}: {eqs}")
|
|
|
|
# Wait, no python API for n_equations... Let's just create a full rust test.
|