aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ice40/lp1k.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ice40/lp1k.cc')
-rw-r--r--tests/ice40/lp1k.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ice40/lp1k.cc b/tests/ice40/lp1k.cc
index c80d43f9..3a0bd5ec 100644
--- a/tests/ice40/lp1k.cc
+++ b/tests/ice40/lp1k.cc
@@ -59,8 +59,7 @@ TEST_F(LP1KTest, uphill_to_downhill)
for (auto dst : ctx->getWires()) {
for (auto uphill_pip : ctx->getPipsUphill(dst)) {
bool found_downhill = false;
- for (auto downhill_pip : ctx->getPipsDownhill(
- ctx->getPipSrcWire(uphill_pip))) {
+ for (auto downhill_pip : ctx->getPipsDownhill(ctx->getPipSrcWire(uphill_pip))) {
if (uphill_pip == downhill_pip) {
ASSERT_FALSE(found_downhill);
found_downhill = true;
@@ -76,8 +75,7 @@ TEST_F(LP1KTest, downhill_to_uphill)
for (auto dst : ctx->getWires()) {
for (auto downhill_pip : ctx->getPipsDownhill(dst)) {
bool found_uphill = false;
- for (auto uphill_pip : ctx->getPipsUphill(
- ctx->getPipDstWire(downhill_pip))) {
+ for (auto uphill_pip : ctx->getPipsUphill(ctx->getPipDstWire(downhill_pip))) {
if (uphill_pip == downhill_pip) {
ASSERT_FALSE(found_uphill);
found_uphill = true;