lucene-kmp
Toggle table of contents
10.2.0-alpha14
common
Target filter
common
Switch theme
Search in API
Skip to content
lucene-kmp
test-framework
/
org.gnit.lucenekmp.tests.util.fst
/
FSTTester
FSTTester
class
FSTTester
<
T
>
(
val
random
:
Random
,
val
dir
:
Directory
=
ByteBuffersDirectory()
,
val
inputMode
:
Int
,
val
pairs
:
List
<
FSTTester.InputOutput
<
T
>
>
,
val
outputs
:
Outputs
<
T
>
)
Simplified FST tester used by the ported tests.
Members
Constructors
FSTTester
Link copied to clipboard
constructor
(
random
:
Random
,
dir
:
Directory
=
ByteBuffersDirectory()
,
inputMode
:
Int
,
pairs
:
List
<
FSTTester.InputOutput
<
T
>
>
,
outputs
:
Outputs
<
T
>
)
Types
Input
Output
Link copied to clipboard
data
class
InputOutput
<
T
>
(
val
input
:
IntsRef
,
val
output
:
T
)
:
Comparable
<
FSTTester.InputOutput
<
T
>
>
Properties
arc
Count
Link copied to clipboard
var
arcCount
:
Long
dir
Link copied to clipboard
val
dir
:
Directory
input
Mode
Link copied to clipboard
val
inputMode
:
Int
node
Count
Link copied to clipboard
var
nodeCount
:
Long
outputs
Link copied to clipboard
val
outputs
:
Outputs
<
T
>
pairs
Link copied to clipboard
val
pairs
:
List
<
FSTTester.InputOutput
<
T
>
>
random
Link copied to clipboard
val
random
:
Random
Functions
do
Test
Link copied to clipboard
fun
doTest
(
)
:
FST
<
T
>
?