| 35 | }; |
| 36 | |
| 37 | TEST(DataProcessorTest, ApplyBatchRunsEverySample) { |
| 38 | PassThrough proc; |
| 39 | std::vector<Sample> in; |
| 40 | in.push_back(Sample::scalar(1, PJ::VarValue{1.0})); |
| 41 | in.push_back(Sample::scalar(2, PJ::VarValue{2.0})); |
| 42 | in.push_back(Sample::scalar(3, PJ::VarValue{3.0})); |
| 43 | const auto out = proc.applyBatch(in); |
| 44 | ASSERT_EQ(out.size(), 3u); |
| 45 | EXPECT_EQ(out[2].raw_ts_ns, 3); |
| 46 | } |
| 47 | |
| 48 | TEST(DataProcessorTest, AppendTailAppendsToExistingOutput) { |
| 49 | PassThrough proc; |
nothing calls this directly
no test coverage detected