aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-06-23 16:06:49 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-06-23 16:06:49 +0200
commit4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292 (patch)
treed95e8367c2e3ed2f8cb35f21ad1252c76bf5587b /tests
parentc0b1078c12b80d9add270eec560bd7cdc433d4da (diff)
downloadnextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.tar.gz
nextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.tar.bz2
nextpnr-4b78ae15dfbcdb197cfe4a8e27cdae6e4005c292.zip
clangformat cleanup
Diffstat (limited to 'tests')
-rw-r--r--tests/ice40/hx1k.cc6
-rw-r--r--tests/ice40/hx8k.cc6
-rw-r--r--tests/ice40/lp1k.cc6
-rw-r--r--tests/ice40/lp384.cc6
-rw-r--r--tests/ice40/lp8k.cc6
-rw-r--r--tests/ice40/up5k.cc6
6 files changed, 12 insertions, 24 deletions
diff --git a/tests/ice40/hx1k.cc b/tests/ice40/hx1k.cc
index 7dd7bbe1..c208da1e 100644
--- a/tests/ice40/hx1k.cc
+++ b/tests/ice40/hx1k.cc
@@ -59,8 +59,7 @@ TEST_F(HX1KTest, 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(HX1KTest, 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;
diff --git a/tests/ice40/hx8k.cc b/tests/ice40/hx8k.cc
index a8d0834e..3e1186ae 100644
--- a/tests/ice40/hx8k.cc
+++ b/tests/ice40/hx8k.cc
@@ -59,8 +59,7 @@ TEST_F(HX8KTest, 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(HX8KTest, 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;
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;
diff --git a/tests/ice40/lp384.cc b/tests/ice40/lp384.cc
index aedc3b6d..bd5c0b71 100644
--- a/tests/ice40/lp384.cc
+++ b/tests/ice40/lp384.cc
@@ -59,8 +59,7 @@ TEST_F(LP384Test, 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(LP384Test, 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;
diff --git a/tests/ice40/lp8k.cc b/tests/ice40/lp8k.cc
index e8e9cb0b..cadb25a0 100644
--- a/tests/ice40/lp8k.cc
+++ b/tests/ice40/lp8k.cc
@@ -59,8 +59,7 @@ TEST_F(LP8KTest, 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(LP8KTest, 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;
diff --git a/tests/ice40/up5k.cc b/tests/ice40/up5k.cc
index c7de5269..27484f7e 100644
--- a/tests/ice40/up5k.cc
+++ b/tests/ice40/up5k.cc
@@ -59,8 +59,7 @@ TEST_F(UP5KTest, 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(UP5KTest, 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;