Skip to content

Commit

Permalink
odb tests: clang-format
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Garay <[email protected]>
  • Loading branch information
fgaray committed Mar 20, 2024
1 parent 92083d4 commit 0ec77ad
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/odb/test/cpp/scan/TestScanChain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ TEST_F(TestScanChain, CreateScanChainWithPartition)
dbScanChain* scan_chain = dbScanChain::create(dft_);
dbScanList* scan_list = dbScanList::create(scan_chain);


for (dbInst* inst : instances_) {
dbScanInst* scan_inst = scan_list->add(inst);
scan_inst->setBits(1);
Expand Down Expand Up @@ -216,7 +215,7 @@ TEST_F(TestScanChain, CreateScanChainWithPartition)
dbSet<dbScanInst> scan_insts2 = scan_lists2.begin()->getScanInsts();

int i = 0;
for (dbScanInst* scan_inst: scan_insts2) {
for (dbScanInst* scan_inst : scan_insts2) {
const dbScanInst::AccessPins& access_pins = scan_inst->getAccessPins();
EXPECT_THAT(GetName(access_pins.scan_in), "a");
EXPECT_THAT(GetName(access_pins.scan_out), "o");
Expand All @@ -225,7 +224,6 @@ TEST_F(TestScanChain, CreateScanChainWithPartition)
}
}


TEST_F(TestScanChain, CreateScanChainWithMultipleScanLists)
{
dbScanChain* scan_chain = dbScanChain::create(dft_);
Expand All @@ -248,8 +246,8 @@ TEST_F(TestScanChain, CreateScanChainWithMultipleScanLists)
EXPECT_THAT(scan_lists2.size(), 2);

int i = 0;
for (dbScanList* scan_list: scan_lists2) {
for (dbScanInst* scan_inst: scan_list->getScanInsts()) {
for (dbScanList* scan_list : scan_lists2) {
for (dbScanInst* scan_inst : scan_list->getScanInsts()) {
EXPECT_THAT(scan_inst->getInst()->getName(), instances_[i]->getName());
++i;
}
Expand Down

0 comments on commit 0ec77ad

Please sign in to comment.