FPGAIntegrationTest: Add test for spot finder based on count limit
This commit is contained in:
@@ -22,7 +22,6 @@ TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") {
|
||||
input_frame[i] = i % RAW_MODULE_COLS;
|
||||
}
|
||||
auto input_frame_512 = (ap_uint<512> *) input_frame.data();
|
||||
auto output_frame_512 = (ap_uint<512> *) output_frame.data();
|
||||
|
||||
input << packet_512_t{.user = 0};
|
||||
for (int i = 0; i < RAW_MODULE_SIZE * sizeof(uint16_t) / 64; i++)
|
||||
@@ -39,4 +38,6 @@ TEST_CASE("FPGA_spot_finder_core","[FPGA][SpotFinder]") {
|
||||
REQUIRE(input.size() == 0);
|
||||
REQUIRE(output.size() == RAW_MODULE_SIZE * sizeof(uint16_t) / 64 + 2);
|
||||
REQUIRE(strong_pixel.size() == RAW_MODULE_SIZE * sizeof(uint16_t) / 64 + 16 + 1);
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user