Unit test for CVotingAgent.
More...
Inherits TestCase.
Definition at line 37 of file CVotingAgentTest.java.
org.lightvoting.simulation.agent.CVotingAgentTest.CVotingAgentTest |
( |
final String |
p_testName | ) |
|
static Test org.lightvoting.simulation.agent.CVotingAgentTest.suite |
( |
| ) |
|
|
static |
- Returns
- the suite of tests being tested
Definition at line 54 of file CVotingAgentTest.java.
CVotingAgentTest(final String p_testName)
Create the test case.
void org.lightvoting.simulation.agent.CVotingAgentTest.testCVotingAgent |
( |
| ) |
|
Definition at line 66 of file CVotingAgentTest.java.
70 final CChairAgent l_chairAgent =
new CChairAgent(
"chair",
new CDefaultAgentConfiguration<>(),
new CEnvironment( 23,
"foo.h5" ),
75 final CVotingAgent l_agent =
new CVotingAgent(
"agent",
new CDefaultAgentConfiguration<>(), l_chairAgent,
new CEnvironment( 23,
"foo.h5" ), 10,
81 catch (
final Exception l_exception )
83 l_exception.printStackTrace();