|
Tsunami Project Lab
|
#include "Stations.h"#include <catch2/catch.hpp>#include <cstdint>#include <filesystem>#include <fstream>#include <random>#include <sstream>#include <string>
Functions | |
| TEST_CASE ("Stations parses a valid XML and pins each entry to its containing cell.", "[Stations]") | |
| TEST_CASE ("Stations honours the optional <stations dir=\"…\"> attribute.", "[StationsCustomDir]") | |
| TEST_CASE ("Stations.sample writes one row per station per scheduled tick.", "[StationsSample]") | |
| TEST_CASE ("Stations.sample writes a 0 for momentum_y when hv is nullptr (1d).", "[StationsSampleNullHv]") | |
| TEST_CASE ("Stations rejects malformed configs with a message.", "[StationsErrors]") | |
| TEST_CASE | ( | "Stations honours the optional <stations dir=\"…\"> attribute." | , |
| "" | [StationsCustomDir] ) |
| TEST_CASE | ( | "Stations parses a valid XML and pins each entry to its containing cell." | , |
| "" | [Stations] ) |
| TEST_CASE | ( | "Stations rejects malformed configs with a message." | , |
| "" | [StationsErrors] ) |
| TEST_CASE | ( | "Stations.sample writes a 0 for momentum_y when hv is nullptr (1d)." | , |
| "" | [StationsSampleNullHv] ) |
| TEST_CASE | ( | "Stations.sample writes one row per station per scheduled tick." | , |
| "" | [StationsSample] ) |