1#include <catch2/catch_test_macros.hpp>
2#include <catch2/matchers/catch_matchers_vector.hpp>
614, {1.1F, 2.2F, 3.3F}};
8TEST_CASE(
"samples string separated by single spaces should not fail",
"[parseWaveformSamples]")
15TEST_CASE(
"samples string separated by multiple spaces should not fail",
"[parseWaveformSamples]")
22TEST_CASE(
"if the waveform id is not an integer return std::nullopt",
"[parseWaveformSamples]")
26 REQUIRE(result == std::nullopt);
29TEST_CASE(
"if the number of samples is not an integer return std::nullopt",
"[parseWaveformSamples]")
33 REQUIRE(result == std::nullopt);
std::optional< Waveform< T > > parseWaveformSamples(const std::string &adf_waveform_line)
const Waveform< float > expected
TEST_CASE("samples string separated by single spaces should not fail", "[parseWaveformSamples]")