triplex_line_tests Class Reference

Inheritance diagram for triplex_line_tests:

test_helper List of all members.

Detailed Description

Test class for triplex lines.

This class contains unit tests for different configurations of triplex lines.

Definition at line 12 of file triplexline_test.h.

Public Member Functions

void setUp ()
 Called by CPPUnit to ensure that any special pre-testing steps are completed before the tests are executed.
void tearDown ()
void test_triplex_line ()
 This function performs a unit test for triplex lines.
 triplex_line_tests ()


Member Function Documentation

void triplex_line_tests::test_triplex_line (  )  [inline]

This function performs a unit test for triplex lines.

Triplex lines can't be tested independantly, but require a node at either end. In this test, we will create 2 nodes, anchor them at either end of a single triplex line, and then perform a series of sync's to perform the sweeps that will perform the calculations to find the current in the line at a given timestamp.

Definition at line 54 of file triplexline_test.h.

References triplex_line_configuration::diameter, FAILED, test_helper::get_class_by_name(), gl_create_object, s_test_callbacks::init_objects, triplex_line_configuration::ins_thickness, OBJECTDATA, PC_BOTTOMUP, PC_POSTTOPDOWN, PC_PRETOPDOWN, PHASE_ABCN, line_configuration::phaseA_conductor, line_configuration::phaseB_conductor, line_configuration::phaseC_conductor, line_configuration::phaseN_conductor, s_test_callbacks::setup_test_ranks, and s_test_callbacks::sync_all.


The documentation for this class was generated from the following file:
GridLAB-DTM Version 1.0
An open-source project initiated by the US Department of Energy