File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ class PRG {
156156 /* *
157157 * @brief The seed.
158158 */
159- std::array<unsigned char , BLOCK_SIZE> Seed () const {
159+ std::array<unsigned char , BLOCK_SIZE> seed () const {
160160 return m_seed;
161161 }
162162
Original file line number Diff line number Diff line change 1515 * along with this program. If not, see <https://www.gnu.org/licenses/>.
1616 */
1717
18- #include < algorithm>
1918#include < catch2/catch_test_macros.hpp>
2019#include < catch2/matchers/catch_matchers.hpp>
2120#include < catch2/matchers/catch_matchers_exception.hpp>
2221#include < cstring>
23- #include < iostream>
2422#include < stdexcept>
2523
2624#include " scl/primitives/prg.h"
@@ -66,7 +64,7 @@ TEST_CASE("PRG predictable", "[misc]") {
6664 auto prg0 = PRG::create (seed, 15 );
6765 auto prg1 = PRG::create (seed, 15 );
6866
69- REQUIRE (prg0.Seed () == prg1.Seed ());
67+ REQUIRE (prg0.seed () == prg1.seed ());
7068
7169 auto bytes0 = prg0.next (100 );
7270 auto bytes1 = prg1.next (100 );
You can’t perform that action at this time.
0 commit comments