Anders and Briegel in Python
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
234B

  1. from nose import with_setup
  2. import abp
  3. def setup():
  4. global g
  5. g = abp.GraphRegister(10)
  6. g.add_edge(0,1)
  7. g.add_edge(1,2)
  8. g.add_edge(2,0)
  9. @with_setup(setup)
  10. def test_adding():
  11. s = abp.Stabilizer(g)
  12. print s