Lorgres@lemmy.worldtoProgramming@programming.dev•How do you test visual programing languages?
3·
5 months agoI was actually offered a Bachelor thesis topic by a company to write a test bench for a product in LabView.
From what they told me and my other engineering experience I’d suggest going with an approach similar to what’s used with HDLs. For unit tests create test benches in the language itself which call the functions you want to test with a predefined input (e.g. from a file) and then analyse and save the output.
You can extend this to obtaining other information as well, but tbh I’ll bet it’s still gonna be a pain.
Hope that helps at least a little.
The problem is really down to finding places where you can actually build something like a hydroelectric power plant.
You need a large area you can safely flood. (No villages in the area or only villages you can buy out the owners of) or a high up lake.
The area to flood needs to have the geology required to construct a dam safely.
And finally, the area needs to be pretty high up and have an area below you can direct the outgoing water to.