Unit Tests

Core

test_expression.TestExpression([methodName])

Unit tests for sasoptpy.Expression objects

test_objective.TestObjective([methodName])

Unit tests for sasoptpy.Objective objects

test_model.TestModel([methodName])

Unit tests for sasoptpy.Model objects

test_variable.TestVariable([methodName])

Unit tests for sasoptpy.Variable objects

test_variable_group.TestVariableGroup([…])

Unit tests for sasoptpy.VariableGroup objects

test_constraint.TestConstraint([methodName])

Unit tests for sasoptpy.Constraint objects

test_constraint_group.TestConstraintGroup([…])

Unit tests for sasoptpy.ConstraintGroup objects

test_util.TestUtil([methodName])

Unit tests for core utility functions

Abstract

test_math.TestAbstractMath([methodName])

Unit tests for mathematical functions

test_set.TestSet([methodName])

Unit tests for sasoptpy.abstract.Set objects

test_set_iterator.TestSetIterator([methodName])

Unit tests for sasoptpy.abstract.SetIterator objects

test_parameter.TestParameter([methodName])

test_implicit_variable.TestImplicitVariable([…])

Unit tests for sasoptpy.abstract.ImplicitVar objects

test_condition.TestCondition([methodName])

Unit tests for abstract conditions to be executed on the server

statement.test_assignment.TestAssignment([…])

Unit tests for assignment statements

statement.test_cofor_loop.TestCoforLoop([…])

Unit tests for concurrent for (COFOR) statements

statement.test_create_data.TestCreateData([…])

Unit tests for CREATE DATA statements

statement.test_drop_restore.TestDropRestore([…])

Unit tests for DROP and RESTORE statements

statement.test_fix_unfix.TestFix([methodName])

Unit tests for FIX and UNFIX statements

statement.test_for_loop.TestForLoop([methodName])

Unit tests for FOR statements

statement.test_if_else.TestIfElse([methodName])

Unit tests for IF/ELSE and SWITCH statements

statement.test_literal.TestLiteral([methodName])

Unit tests for literal statements

statement.test_read_data.TestReadData([…])

Unit tests for READ DATA statements

statement.test_solve.TestSolve([methodName])

Unit tests for SOLVE statements

Interface

test_cas_interface.TestCASInterface([methodName])

Unit tests for the CAS interface

test_sas_interface.TestSASInterface([methodName])

Unit tests for the SAS interface

Session

test_workspace.TestWorkspace([methodName])

Unit tests for the sasoptpy.Workspace objects