railtoolkit / TrainRuns.jl

TrainRun.jl will take a user-defined train and a path as an input for a train run calculation. It can calculate the train run as a time-efficient or energy-efficient operation mode. The results can then be used within the Julia environment.
https://railtoolkit.org/projects/trainruns.jl
ISC License
5 stars 2 forks source link

Rework pois #79

Closed gwehrle closed 2 months ago

gwehrle commented 2 months ago

Solves #55 Solves #56

kaat0 commented 2 months ago

I was wondering how to name the test files. Your approach is a a corresponding file in the testfolder for each in the srcfolder. My approach was a test file for each test set and naming the test file according to the test set.

Any thoughts?

gwehrle commented 2 months ago

You're right. This should be consistent. This is just how I used to do with other frameworks / languages. Both approaches have their pros and cons.

For me a big pro is that I don't have to think about naming and on error it's pretty clear what to fix.

I can rename and regroup them.