OpenSim
|
Public Member Functions | |
void | SetUpDataSets () |
Sets up dictionaries and arrays used in the tests. More... | |
void | TestConstructFromInt () |
Tests constructing a LSLFloat from an integer. More... | |
void | TestConstructFromDouble () |
Tests constructing a LSLFloat from a double. More... | |
void | TestExplicitCastLSLFloatToInt () |
Tests LSLFloat is correctly cast explicitly to integer. More... | |
void | TestExplicitCastLSLFloatToUint () |
Tests LSLFloat is correctly cast explicitly to unsigned integer. More... | |
void | TestImplicitCastLSLFloatToBooleanTrue () |
Tests LSLFloat is correctly cast implicitly to Boolean if non-zero. More... | |
void | TestImplicitCastLSLFloatToBooleanFalse () |
Tests LSLFloat is correctly cast implicitly to Boolean if zero. More... | |
void | TestImplicitCastIntToLSLFloat () |
Tests integer is correctly cast implicitly to LSLFloat. More... | |
void | TestImplicitCastLSLIntegerToLSLFloat () |
Tests LSLInteger is correctly cast implicitly to LSLFloat. More... | |
void | TestExplicitCastLSLIntegerToLSLFloat () |
Tests LSLInteger is correctly cast explicitly to LSLFloat. More... | |
void | TestExplicitCastStringToLSLFloat () |
Tests string is correctly cast explicitly to LSLFloat. More... | |
void | TestExplicitCastLSLStringToLSLFloat () |
Tests LSLString is correctly cast implicitly to LSLFloat. More... | |
void | TestImplicitCastDoubleToLSLFloat () |
Tests double is correctly cast implicitly to LSLFloat. More... | |
void | TestImplicitCastLSLFloatToDouble () |
Tests LSLFloat is correctly cast implicitly to double. More... | |
void | TestExplicitCastLSLFloatToFloat () |
Tests LSLFloat is correctly cast explicitly to float More... | |
void | TestEqualsOperator () |
Tests the equality (==) operator. More... | |
void | TestNotEqualOperator () |
Tests the inequality (!=) operator. More... | |
void | TestIncrementOperator () |
Tests the increment operator. More... | |
void | TestDecrementOperator () |
Tests the decrement operator. More... | |
void | TestToString () |
Tests LSLFloat.ToString(). More... | |
void | TestAddTwoLSLFloats () |
Tests addition of two LSLFloats. More... | |
void | TestSubtractTwoLSLFloats () |
Tests subtraction of two LSLFloats. More... | |
void | TestMultiplyTwoLSLFloats () |
Tests multiplication of two LSLFloats. More... | |
void | TestDivideTwoLSLFloats () |
Tests division of two LSLFloats. More... | |
void | TestImplicitCastBooleanToLSLFloat () |
Tests boolean correctly cast implicitly to LSLFloat. More... | |
Public Member Functions inherited from OpenSim.Tests.Common.OpenSimTestCase | |
virtual void | SetUp () |
Definition at line 36 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Sets up dictionaries and arrays used in the tests.
Definition at line 54 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests addition of two LSLFloats.
Definition at line 571 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests constructing a LSLFloat from a double.
Definition at line 231 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests constructing a LSLFloat from an integer.
Definition at line 214 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests the decrement operator.
Definition at line 528 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests division of two LSLFloats.
Definition at line 622 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests the equality (==) operator.
Definition at line 460 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast explicitly to float
Definition at line 438 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast explicitly to integer.
Definition at line 248 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast explicitly to unsigned integer.
Definition at line 265 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLInteger is correctly cast explicitly to LSLFloat.
Definition at line 350 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLString is correctly cast implicitly to LSLFloat.
Definition at line 384 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests string is correctly cast explicitly to LSLFloat.
Definition at line 367 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests boolean correctly cast implicitly to LSLFloat.
Definition at line 642 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests double is correctly cast implicitly to LSLFloat.
Definition at line 401 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests integer is correctly cast implicitly to LSLFloat.
Definition at line 316 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast implicitly to Boolean if zero.
Definition at line 302 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast implicitly to Boolean if non-zero.
Definition at line 282 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat is correctly cast implicitly to double.
Definition at line 418 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLInteger is correctly cast implicitly to LSLFloat.
Definition at line 333 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests the increment operator.
Definition at line 502 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests multiplication of two LSLFloats.
Definition at line 605 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests the inequality (!=) operator.
Definition at line 481 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests subtraction of two LSLFloats.
Definition at line 588 of file LSL_TypesTestLSLFloat.cs.
|
inline |
Tests LSLFloat.ToString().
Definition at line 554 of file LSL_TypesTestLSLFloat.cs.