Skip to content

Commit

Permalink
Minor adjustments to formatting and optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
vogti committed Nov 29, 2024
1 parent 044d289 commit 1d00a04
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 20 deletions.
41 changes: 23 additions & 18 deletions dbms/src/test/java/org/polypheny/db/cypher/MatchTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ public void reset() {
}


///////////////////////////////////////////////
///////// MATCH
///////////////////////////////////////////////
/// ////////////////////////////////////////////
/// ////// MATCH
/// ////////////////////////////////////////////
@Test
public void simpleMatchTest() {
GraphResult res = execute( "MATCH (n) RETURN n" );
Expand Down Expand Up @@ -109,9 +109,10 @@ public void simpleMatchMultiplePropertyTest() {

}

///////////////////////////////////////////////
///////// PROJECT
///////////////////////////////////////////////

/// ////////////////////////////////////////////
/// ////// PROJECT
/// ////////////////////////////////////////////


@Test
Expand Down Expand Up @@ -142,9 +143,10 @@ public void mixedNodeAndPropertyProjectTest() {
assert is( res, Type.ANY, 1 );
}

///////////////////////////////////////////////
///////// EDGE
///////////////////////////////////////////////

/// ////////////////////////////////////////////
/// ////// EDGE
/// ////////////////////////////////////////////


@Test
Expand Down Expand Up @@ -236,9 +238,10 @@ assert containsRows( res, true, false,
Row.of( TestNode.from( List.of( "Animal" ), Pair.of( "name", "Kira" ) ) ) );
}

///////////////////////////////////////////////
///////// MIXED
///////////////////////////////////////////////

/// ////////////////////////////////////////////
/// ////// MIXED
/// ////////////////////////////////////////////


@Test
Expand All @@ -257,9 +260,10 @@ assert containsIn( res, true, 1, TestNode.from(

}

///////////////////////////////////////////////
///////// "CROSS PRODUCT" MATCH
///////////////////////////////////////////////

/// ////////////////////////////////////////////
/// ////// "CROSS PRODUCT" MATCH
/// ////////////////////////////////////////////


@Test
Expand Down Expand Up @@ -338,9 +342,10 @@ assert containsRows( res, true, false,
Row.of( HANS, HANS, HANS ) );
}

///////////////////////////////////////////////
///////// PATH
///////////////////////////////////////////////

/// ////////////////////////////////////////////
/// ////// PATH
/// ////////////////////////////////////////////


@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
import org.polypheny.db.type.PolyType;
import org.polypheny.db.type.entity.PolyValue;
import org.polypheny.db.type.entity.graph.PolyGraph;
import org.polypheny.db.type.entity.graph.PolyPath;
import org.polypheny.db.type.entity.relational.PolyMap;
import org.polypheny.db.util.Pair;
import org.polypheny.db.util.PolyphenyHomeDirManager;
Expand Down Expand Up @@ -532,4 +531,3 @@ public interface TriFunction<First, Second, Third, Result> {
}

}

0 comments on commit 1d00a04

Please sign in to comment.