Anders and Briegel in Python
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

test_client.py 304B

1234567891011121314151617
  1. import requests
  2. import abp, json
  3. import time
  4. def _test_client():
  5. client = abp.Client(clear=True)
  6. client.clear()
  7. for i in range(100):
  8. client.add_node(i)
  9. client.act_local_rotation(i, 10)
  10. for i in range(100-1):
  11. client.act_cz(i, i+1)
  12. print client.get_state()