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 |
testErrorPropagation()
Child traversals should propagate error states to their parent traversal if and only if the parent step is a
filter step.
|
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, setupTest
afterLoadGraphWith, assertVertexEdgeCounts, beforeLoadGraphWith, convertToEdge, convertToEdge, convertToEdgeId, convertToEdgeId, convertToVertex, convertToVertex, convertToVertexId, convertToVertexId, convertToVertexProperty, convertToVertexProperty, convertToVertexPropertyId, convertToVertexPropertyId, getAssertVertexEdgeCounts, printTraversalForm, setup, tearDown, tryCommit, tryCommit, tryRollback, validateException, verifyRootIdentification, verifyUniqueStepIds
public void testCompareNaN()
public void testCompareNull()
public void testCompareAcrossTypes()
public void testAnd()
public void testOr()
public void testNot()
public void testXor()
public void testErrorPropagation()
Copyright © 2013–2023 Apache Software Foundation. All rights reserved.