Fix service area case

This commit is contained in:
wqy
2023-06-27 20:51:09 +08:00
parent 9d90643b3b
commit 4c6e257d1d
5 changed files with 31 additions and 15 deletions

11
dev.py Normal file
View File

@@ -0,0 +1,11 @@
from tjnetwork import *
p = 'dev'
read_inp(p, './inp/net3.inp', '3')
open_project(p)
sass = calculate_service_area(p)
assert len(sass) == 25
print(sass[0])
print(sass[1])