public class TernaryBooleanLogicsTest extends AbstractGremlinProcessTest
config, g, graph, graphProvider, name, shouldTestIteratorLeak| Constructor and Description |
|---|
TernaryBooleanLogicsTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAnd()
Over a ternary binary semantics, the AND predicate evaluates to TRUE only if both arguments are TRUE.
|
void |
testCompareAcrossTypes()
Comparisons across type families.
|
void |
testCompareNaN()
NaN comparisons always produce UNDEF comparison, reducing to FALSE in ternary->binary reduction.
|
void |
testCompareNull()
Null comparisons.
|
void |
testNot()
The NOT predicate inverts TRUE and FALSE but maintains ERROR values.
|
void |
testOr()
Being symetrically defined to AND, OR only returns FALSE in the case that both arguments evalute to FALSE.
|
void |
testXor()
Ternary XOR semantics.
|
checkHasNext, checkMap, checkOrderedResults, checkResults, checkResults, checkSideEffects, graphMeetsTestRequirements, hasGraphComputerRequirement, makeMapList, setupTestafterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyUniqueStepIdspublic void testCompareNaN()
public void testCompareNull()
public void testCompareAcrossTypes()
public void testAnd()
public void testOr()
public void testNot()
public void testXor()
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.