LightJason - AgentSpeak(L++)
org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector Class Reference

test for bit vector actions More...

+ Inheritance diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector:
+ Collaboration diagram for org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector:

Public Member Functions

final void action (final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >> p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
 test all single-input actions More...
 
final void boolValue ()
 test boolean value More...
 
final void clear ()
 test clear More...
 
final void create ()
 test create More...
 
final void initialize ()
 initialize More...
 
final void numericvalue ()
 test numericvalue More...
 
final void range ()
 test range More...
 
final void set ()
 test set More...
 
final void toblas ()
 test toblas More...
 
final void tolist ()
 test toList More...
 

Static Public Member Functions

static Object [] generator ()
 data provider generator More...
 

Static Private Member Functions

static Stream< Object > testcase (final Stream< Object > p_input, final Stream< Class<?>> p_classes, final Stream< Object >... p_classresult)
 method to generate test-cases More...
 

Static Private Attributes

static final BitVector VECTOR1 = new BitVector( 3 )
 testing vector More...
 
static final BitVector VECTOR2 = new BitVector( 3 )
 testing matrix More...
 

Additional Inherited Members

- Static Protected Attributes inherited from org.lightjason.agentspeak.IBaseTest
static final boolean PRINTENABLE = Files.exists( Paths.get( "agentprinting.conf" ) )
 enable printing of test-data More...
 

Detailed Description

Definition at line 75 of file TestCActionMathBitVector.java.

Member Function Documentation

◆ action()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.action ( final Triple< List< ITerm >, Class<? extends IAction >, Stream< Object >>  p_input) throws IllegalAccessException, InstantiationException, NoSuchMethodException, InvocationTargetException
Parameters
p_inputtripel of input data, actions classes and results
Exceptions
IllegalAccessExceptionis thrwon on instantiation error
InstantiationExceptionis thrwon on instantiation error
NoSuchMethodExceptionis thrwon on instantiation error
InvocationTargetExceptionis thrwon on instantiation error

Definition at line 174 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, and org.lightjason.agentspeak.language.ITerm.raw().

+ Here is the call graph for this function:

◆ boolValue()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.boolValue ( )

Definition at line 215 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.CBoolValue.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ clear()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.clear ( )

Definition at line 248 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.CClear.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ create()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.create ( )

Definition at line 196 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CCreate.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ generator()

static Object [] org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.generator ( )
static
Returns
data

Definition at line 109 of file TestCActionMathBitVector.java.

◆ initialize()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.initialize ( )

Definition at line 93 of file TestCActionMathBitVector.java.

◆ numericvalue()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.numericvalue ( )

Definition at line 281 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.CNumericValue.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ range()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.range ( )

Definition at line 263 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CRange.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ set()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.set ( )

Definition at line 232 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.list.CSet.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ testcase()

static Stream<Object> org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.testcase ( final Stream< Object >  p_input,
final Stream< Class<?>>  p_classes,
final Stream< Object >...  p_classresult 
)
staticprivate
Parameters
p_inputinput data
p_classesmatching test-classes / test-cases
p_classresultresult for each class
Returns
test-object

Definition at line 151 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ toblas()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.toblas ( )

Definition at line 317 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.math.bit.matrix.CToBlas.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

◆ tolist()

final void org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.tolist ( )

Definition at line 298 of file TestCActionMathBitVector.java.

References org.lightjason.agentspeak.language.execution.IContext.EMPTYPLAN, org.lightjason.agentspeak.action.builtin.collection.set.CToList.execute(), and org.lightjason.agentspeak.language.CRawTerm< T >.from().

+ Here is the call graph for this function:

Member Data Documentation

◆ VECTOR1

final BitVector org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.VECTOR1 = new BitVector( 3 )
staticprivate
Note
static because of usage in data-provider and test-initialize

Definition at line 81 of file TestCActionMathBitVector.java.

◆ VECTOR2

final BitVector org.lightjason.agentspeak.action.builtin.TestCActionMathBitVector.VECTOR2 = new BitVector( 3 )
staticprivate
Note
static because of usage in data-provider and test-initialize

Definition at line 86 of file TestCActionMathBitVector.java.