mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-11-17 04:09:14 +00:00
15 lines
468 B
C++
15 lines
468 B
C++
#include "stdafx.h"
|
|
#include "processor_test_suite_t.h"
|
|
|
|
#include <filesystem>
|
|
|
|
processor_test_suite_t::processor_test_suite_t(std::string location) noexcept
|
|
: m_location(location) {
|
|
}
|
|
|
|
EightBit::co_generator_t<opcode_test_suite_t> processor_test_suite_t::generator() const {
|
|
std::filesystem::path directory = location();
|
|
for (const auto& entry : std::filesystem::directory_iterator{ directory })
|
|
co_yield opcode_test_suite_t(entry.path().string());
|
|
}
|