aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-26 11:27:02 +0000
committerMelanie Thielker2008-11-26 11:27:02 +0000
commitbd6f58184a6e7451f90a6d0ccf9f0494beae04e5 (patch)
tree86745e7042ea0b213a5505548e661ecafbb5012a /OpenSim/Data/Tests
parentAnd fix to prebuild.xml (diff)
downloadopensim-SC_OLD-bd6f58184a6e7451f90a6d0ccf9f0494beae04e5.zip
opensim-SC_OLD-bd6f58184a6e7451f90a6d0ccf9f0494beae04e5.tar.gz
opensim-SC_OLD-bd6f58184a6e7451f90a6d0ccf9f0494beae04e5.tar.bz2
opensim-SC_OLD-bd6f58184a6e7451f90a6d0ccf9f0494beae04e5.tar.xz
Reduce the numerical range of text values to match what MySQL offers
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs26
1 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 4894a89..4428e0d 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -699,26 +699,26 @@ namespace OpenSim.Data.Tests
699 public void T101_UpdateRegionInfo() 699 public void T101_UpdateRegionInfo()
700 { 700 {
701 int agentlimit = random.Next(); 701 int agentlimit = random.Next();
702 double objectbonus = random.NextDouble(); 702 double objectbonus = random.Next();
703 int maturity = random.Next(); 703 int maturity = random.Next();
704 UUID tertex1 = UUID.Random(); 704 UUID tertex1 = UUID.Random();
705 UUID tertex2 = UUID.Random(); 705 UUID tertex2 = UUID.Random();
706 UUID tertex3 = UUID.Random(); 706 UUID tertex3 = UUID.Random();
707 UUID tertex4 = UUID.Random(); 707 UUID tertex4 = UUID.Random();
708 double elev1nw = random.NextDouble(); 708 double elev1nw = random.Next();
709 double elev2nw = random.NextDouble(); 709 double elev2nw = random.Next();
710 double elev1ne = random.NextDouble(); 710 double elev1ne = random.Next();
711 double elev2ne = random.NextDouble(); 711 double elev2ne = random.Next();
712 double elev1se = random.NextDouble(); 712 double elev1se = random.Next();
713 double elev2se = random.NextDouble(); 713 double elev2se = random.Next();
714 double elev1sw = random.NextDouble(); 714 double elev1sw = random.Next();
715 double elev2sw = random.NextDouble(); 715 double elev2sw = random.Next();
716 double waterh = random.NextDouble(); 716 double waterh = random.Next();
717 double terrainraise = random.NextDouble(); 717 double terrainraise = random.Next();
718 double terrainlower = random.NextDouble(); 718 double terrainlower = random.Next();
719 Vector3 sunvector = new Vector3((float)Math.Round(random.NextDouble(),5),(float)Math.Round(random.NextDouble(),5),(float)Math.Round(random.NextDouble(),5)); 719 Vector3 sunvector = new Vector3((float)Math.Round(random.NextDouble(),5),(float)Math.Round(random.NextDouble(),5),(float)Math.Round(random.NextDouble(),5));
720 UUID terimgid = UUID.Random(); 720 UUID terimgid = UUID.Random();
721 double sunpos = random.NextDouble(); 721 double sunpos = random.Next();
722 UUID cov = UUID.Random(); 722 UUID cov = UUID.Random();
723 723
724 RegionSettings r1 = db.LoadRegionSettings(region1); 724 RegionSettings r1 = db.LoadRegionSettings(region1);