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

Add poi highlevel tests #80

Closed gwehrle closed 2 months ago

kaat0 commented 2 months ago

Could it be an advantage to change the macro df_snapshot_test in such way that the folder where the CSV snapshot is saved can be modified? I.E.: df_snapshot_test(name, folder, expr::Expr)

This might help the clutter in the snapshot folder as well. With this the snapshot can be sorted in subfolders like e.g. "poi".

kaat0 commented 2 months ago

I moved the macro df_snapshot_test into runtests.jl since the macro might come handy in other tests then the highlevel_test.jl as well.

The macro was changed back to df_snapshot_test(name, expr::Expr) because the name is basically the folder.