Skip to content

Commit

Permalink
change coordinate of receiver in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Oct 4, 2024
1 parent 6a12594 commit 1263061
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ Docs/build
Docs/venv
profile_*.csv
venv/
.DS_Store
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,9 @@ class TestTutorials extends JdbcTestCase {
assertTrue(res.contains("POINT_SOURCE"))
assertTrue(res.contains("BUILDINGS"))

/* new Delaunay_Grid().exec(connection,
["tableBuilding": "BUILDINGS", "sourcesTableName": "POINT_SOURCE", "maxArea": 1500, 'Height':2.0])*/
new Regular_Grid().exec(connection, ["sourcesTableName": "POINT_SOURCE",
delta : 700,
"buildingTableName" : "BUILDINGS"])
sql.execute("DROP TABLE IF EXISTS RECEIVERS")
sql.execute("CREATE TABLE RECEIVERS(PK INTEGER PRIMARY KEY, THE_GEOM GEOMETRY(POINTZ, 2062))")
sql.execute("INSERT INTO RECEIVERS VALUES (1, 'SRID=2062;POINTZ(599094.918 646232.236 1.6)')")

// Check database
res = new Display_Database().exec(connection, [])
Expand All @@ -141,12 +139,13 @@ class TestTutorials extends JdbcTestCase {
res = new Noise_level_from_source().exec(connection, ["tableSources" : "POINT_SOURCE",
"tableBuilding" : "BUILDINGS",
"tableReceivers": "RECEIVERS",
"confThreadNumber" : 1,
"confReflOrder" : 2,
"confRaysName" : "RAYS",
"confMaxReflDist": "1000",
"confMaxSrcDist": "1000",
"confDiffVertical" : true,
"confDiffHorizontal" : true,
"confDiffVertical" : false,
"confDiffHorizontal" : false,
"confSkipLevening" : true,
"confSkipLnight" : true,
"confSkipLden" : true])
Expand Down

0 comments on commit 1263061

Please sign in to comment.