/// @file TestHammingNumber.cpp /// @brief Unit test for HammingNumber.cpp /// @author 30hours /// @author Dan G #include #include #include #include "process/meta/HammingNumber.h" /// @brief Test Hamming number calculation. TEST_CASE("Next_Hamming", "[hamming]") { CHECK(next_hamming(104) == 108); CHECK(next_hamming(3322) == 3375); CHECK(next_hamming(19043) == 19200); }