diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs index 5ace6a3..eae61cd 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneTests.cs | |||
@@ -59,6 +59,21 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
59 | new SceneHelpers().SetupScene(); | 59 | new SceneHelpers().SetupScene(); |
60 | } | 60 | } |
61 | 61 | ||
62 | [Test] | ||
63 | public void TestCreateVarScene() | ||
64 | { | ||
65 | TestHelpers.InMethod(); | ||
66 | UUID regionUuid = TestHelpers.ParseTail(0x1); | ||
67 | uint sizeX = 512; | ||
68 | uint sizeY = 512; | ||
69 | |||
70 | Scene scene | ||
71 | = new SceneHelpers().SetupScene("scene", regionUuid, 1000, 1000, sizeX, sizeY, new IniConfigSource()); | ||
72 | |||
73 | Assert.AreEqual(sizeX, scene.RegionInfo.RegionSizeX); | ||
74 | Assert.AreEqual(sizeY, scene.RegionInfo.RegionSizeY); | ||
75 | } | ||
76 | |||
62 | /// <summary> | 77 | /// <summary> |
63 | /// Very basic scene update test. Should become more elaborate with time. | 78 | /// Very basic scene update test. Should become more elaborate with time. |
64 | /// </summary> | 79 | /// </summary> |