mirror of
https://github.com/YosysHQ/yosys
synced 2026-03-01 11:16:55 +00:00
modtools: fix unit test
This commit is contained in:
parent
b126c95ef1
commit
23757409ee
2 changed files with 4 additions and 2 deletions
|
|
@ -78,6 +78,8 @@ struct ModIndex : public RTLIL::Monitor
|
|||
|
||||
SigMap sigmap;
|
||||
private:
|
||||
friend class ModIndexTest;
|
||||
FRIEND_TEST(ModIndexTest, swap);
|
||||
struct sigbit_pointer_hash
|
||||
{
|
||||
std::size_t operator()(const Yosys::RTLIL::SigBit& s) const noexcept
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
YOSYS_NAMESPACE_BEGIN
|
||||
|
||||
TEST(ModIndexSwapTest, has)
|
||||
TEST(ModIndexTest, swap)
|
||||
{
|
||||
Design* d = new Design;
|
||||
Module* m = d->addModule("$m");
|
||||
|
|
@ -26,7 +26,7 @@ TEST(ModIndexSwapTest, has)
|
|||
}
|
||||
}
|
||||
|
||||
TEST(ModIndexDeleteTest, has)
|
||||
TEST(ModIndexTest, modify)
|
||||
{
|
||||
if (log_files.empty()) log_files.emplace_back(stdout);
|
||||
Design* d = new Design;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue