Tsunami Project Lab
Loading...
Searching...
No Matches
Stations.test.cpp File Reference
#include "Stations.h"
#include <catch2/catch.hpp>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <random>
#include <sstream>
#include <string>
Include dependency graph for Stations.test.cpp:

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]")
 

Function Documentation

◆ TEST_CASE() [1/5]

TEST_CASE ( "Stations honours the optional <stations dir=\"…\"> attribute." ,
"" [StationsCustomDir] )

◆ TEST_CASE() [2/5]

TEST_CASE ( "Stations parses a valid XML and pins each entry to its containing cell." ,
"" [Stations] )

◆ TEST_CASE() [3/5]

TEST_CASE ( "Stations rejects malformed configs with a message." ,
"" [StationsErrors] )

◆ TEST_CASE() [4/5]

TEST_CASE ( "Stations.sample writes a 0 for momentum_y when hv is nullptr (1d)." ,
"" [StationsSampleNullHv] )

◆ TEST_CASE() [5/5]

TEST_CASE ( "Stations.sample writes one row per station per scheduled tick." ,
"" [StationsSample] )