28 using System.Collections.Generic;
29 using NUnit.Framework;
30 using OpenSim.Tests.Common;
31 using OpenSim.Region.ScriptEngine.Shared;
33 namespace OpenSim.
Region.ScriptEngine.Shared.Tests
47 TestHelpers.InMethod();
52 Assert.AreEqual(4, testList.Length);
54 Assert.AreEqual(typeof(
LSL_Types.LSLString), testList.Data[3].GetType());
58 Assert.AreEqual(5, secondTestList.Length);
60 Assert.AreEqual(typeof(
LSL_Types.LSLString), secondTestList.Data[4].GetType());
69 TestHelpers.InMethod();
74 Assert.AreEqual(4, testList.Length);
76 Assert.AreEqual(typeof(
LSL_Types.LSLInteger), testList.Data[3].GetType());
80 Assert.AreEqual(5, secondTestList.Length);
82 Assert.AreEqual(typeof(
LSL_Types.LSLInteger), secondTestList.Data[4].GetType());
91 TestHelpers.InMethod();
96 Assert.AreEqual(4, testList.Length);
98 Assert.AreEqual(typeof(
LSL_Types.LSLFloat), testList.Data[3].GetType());
102 Assert.AreEqual(5, secondTestList.Length);
104 Assert.AreEqual(typeof(
LSL_Types.LSLFloat), secondTestList.Data[4].GetType());
113 TestHelpers.InMethod();
127 TestHelpers.InMethod();
141 TestHelpers.InMethod();
155 TestHelpers.InMethod();
168 TestHelpers.InMethod();
184 TestHelpers.InMethod();
189 Assert.AreEqual(testValue, testList.GetLSLIntegerItem(0));
198 TestHelpers.InMethod();
203 Assert.AreEqual(testValue, testList.GetLSLFloatItem(0));
212 TestHelpers.InMethod();
218 Assert.AreEqual(testFloatValue, testList.GetLSLFloatItem(0));
227 TestHelpers.InMethod();
232 Assert.AreEqual(testValue, testList.GetLSLStringItem(0));
241 TestHelpers.InMethod();
248 Assert.AreEqual(testStringValue, testList.GetLSLStringItem(0));
257 TestHelpers.InMethod();
262 Assert.AreEqual(testValue, testList.GetVector3Item(0));
270 TestHelpers.InMethod();
275 Assert.AreEqual(testValue, testList.GetQuaternionItem(0));
284 TestHelpers.InMethod();
290 Assert.AreEqual(testValue, testList.GetKeyItem(0));
void TestCastLSLIntegerItemToLSLInteger()
Tests casting LSLInteger item to LSLInteger.
void TestCastQuaternionItemToQuaternion()
Tests casting Quaternion item to Quaternion.
void TestGetLSLFloatItemForLSLFloatItem()
Tests GetLSLFloatItem for LSLFloat item.
void TestGetKeyItemForKeyItem()
Tests GetKeyItem for key item.
void TestConcatenateInteger()
Tests concatenating an integer to a list.
void TestCastVector3ItemToVector3()
Tests casting Vector3 item to Vector3.
void TestGetLSLStringItemForKeyItem()
Tests GetLSLStringItem for key item.
Tests the LSL_Types.list class.
void TestGetLSLIntegerItemForLSLIntegerItem()
Tests GetLSLIntegerItem for LSLInteger item.
void TestCastLSLStringItemToLSLString()
Tests casting LSLString item to LSLString.
void TestConcatenateDouble()
Tests concatenating a float to a list.
void TestGetVector3ItemForVector3Item()
Tests GetVector3Item for Vector3 item.
void TestGetLSLFloatItemForLSLIntegerItem()
Tests GetLSLFloatItem for LSLInteger item.
OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger LSLInteger
void TestGetLSLStringItemForLSLStringItem()
Tests GetLSLStringItem for LSLString item.
void TestCastLSLFloatItemToLSLFloat()
Tests casting LSLFloat item to LSLFloat.
void TestConcatenateString()
Tests concatenating a string to a list.
void TestGetQuaternionItemForQuaternionItem()
Tests GetQuaternionItem for Quaternion item.