Skip to content

Commit

Permalink
complete pathfinder test with json
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-f committed Dec 10, 2024
1 parent aad2eb9 commit d56904a
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
} ],
"hasBuildingIntersection" : false,
"hasTopographyIntersection" : false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
} ],
"hasBuildingIntersection" : false,
"hasTopographyIntersection" : false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
} ],
"hasBuildingIntersection" : false,
"hasTopographyIntersection" : false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"type" : "GroundEffect",
"coordinate" : {
"x" : 50.0,
"y" : 18.42,
"y" : 18.42105263157895,
"z" : 0.0
},
"zGround" : 0.0,
Expand All @@ -28,7 +28,7 @@
"type" : "GroundEffect",
"coordinate" : {
"x" : 150.0,
"y" : 39.47,
"y" : 39.473684210526315,
"z" : 0.0
},
"zGround" : 0.0,
Expand All @@ -46,4 +46,4 @@
} ],
"hasBuildingIntersection" : false,
"hasTopographyIntersection" : false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"type" : "GroundEffect",
"coordinate" : {
"x" : 50.0,
"y" : 18.42,
"y" : 18.42105263157895,
"z" : 0.0
},
"zGround" : 0.0,
Expand All @@ -28,7 +28,7 @@
"type" : "Topography",
"coordinate" : {
"x" : 120.0,
"y" : 33.16,
"y" : 33.1578947368421,
"z" : 0.0
},
"zGround" : 0.0,
Expand All @@ -37,16 +37,16 @@
"type" : "GroundEffect",
"coordinate" : {
"x" : 150.0,
"y" : 39.47,
"z" : 4.615
"y" : 39.473684210526315,
"z" : 4.615384615384616
},
"zGround" : 4.615,
"zGround" : 4.615384615384616,
"groundCoefficient" : 0.2
}, {
"type" : "Topography",
"coordinate" : {
"x" : 185.0,
"y" : 46.842,
"y" : 46.8421052631579,
"z" : 10.0
},
"zGround" : 10.0,
Expand All @@ -64,4 +64,4 @@
} ],
"hasBuildingIntersection" : false,
"hasTopographyIntersection" : false
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class PathFinderTest {
/**
* Overwrite project resource expected test cases
*/
public boolean overwriteTestCase = true;
public boolean overwriteTestCase = false;

/**
* Error for coordinates
Expand Down Expand Up @@ -1408,7 +1408,7 @@ public void TC26() throws Exception {
//Propagation data building
Scene rayData = new ProfileBuilderDecorator(builder)
.addSource(10, 10, 0.05)
.addReceiver(120, 20, 8)
.addReceiver(120, 50, 8)
.hEdgeDiff(true)
.vEdgeDiff(true)
.setGs(0.)
Expand Down

0 comments on commit d56904a

Please sign in to comment.