diff options
| author | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-13 18:00:17 +1100 |
|---|---|---|
| committer | Nicolas James <Eele1Ephe7uZahRie@tutanota.com> | 2025-02-13 18:00:17 +1100 |
| commit | 98cef5e9a772602d42acfcf233838c760424db9a (patch) | |
| tree | 5277fa1d7cc0a69a0f166fcbf10fd320f345f049 /comp6771/1/src/word_ladder_benchmark.test.cpp | |
initial commit
Diffstat (limited to 'comp6771/1/src/word_ladder_benchmark.test.cpp')
| -rw-r--r-- | comp6771/1/src/word_ladder_benchmark.test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/comp6771/1/src/word_ladder_benchmark.test.cpp b/comp6771/1/src/word_ladder_benchmark.test.cpp new file mode 100644 index 0000000..2a512d5 --- /dev/null +++ b/comp6771/1/src/word_ladder_benchmark.test.cpp @@ -0,0 +1,11 @@ +#include <catch2/catch.hpp> + +#include "word_ladder.h" + +TEST_CASE("atlases -> cabaret") { + const auto english_lexicon = word_ladder::read_lexicon("./english.txt"); + const auto ladders = + word_ladder::generate("atlases", "cabaret", english_lexicon); + + CHECK(std::size(ladders) != 0); +} |
