diff options
author | UbitUmarov | 2015-11-22 04:10:26 +0000 |
---|---|---|
committer | UbitUmarov | 2015-11-22 04:10:26 +0000 |
commit | 4349bde44097ddf5bd41e2db8a1b3528f0aacedf (patch) | |
tree | 8c16e48c67569656fb63a3418003c5e3fcf27708 /OpenSim/Region | |
parent | add merge option on multioar test (diff) | |
download | opensim-SC-4349bde44097ddf5bd41e2db8a1b3528f0aacedf.zip opensim-SC-4349bde44097ddf5bd41e2db8a1b3528f0aacedf.tar.gz opensim-SC-4349bde44097ddf5bd41e2db8a1b3528f0aacedf.tar.bz2 opensim-SC-4349bde44097ddf5bd41e2db8a1b3528f0aacedf.tar.xz |
reduce noise before compare
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs index f3d77b1..d3ba5a5 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs | |||
@@ -1031,8 +1031,19 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests | |||
1031 | Assert.That(object1PartLoaded, Is.Not.Null, "object1 was not loaded"); | 1031 | Assert.That(object1PartLoaded, Is.Not.Null, "object1 was not loaded"); |
1032 | Assert.That(object1PartLoaded.Name, Is.EqualTo(part1.Name), "object1 names not identical"); | 1032 | Assert.That(object1PartLoaded.Name, Is.EqualTo(part1.Name), "object1 names not identical"); |
1033 | Assert.That(object1PartLoaded.GroupPosition, Is.EqualTo(part1.GroupPosition), "object1 group position not equal"); | 1033 | Assert.That(object1PartLoaded.GroupPosition, Is.EqualTo(part1.GroupPosition), "object1 group position not equal"); |
1034 | Assert.That( | 1034 | |
1035 | object1PartLoaded.RotationOffset, Is.EqualTo(part1.RotationOffset), "object1 rotation offset not equal"); | 1035 | Quaternion qtmp1 = new Quaternion ( |
1036 | (float)Math.Round(object1PartLoaded.RotationOffset.X,5), | ||
1037 | (float)Math.Round(object1PartLoaded.RotationOffset.Y,5), | ||
1038 | (float)Math.Round(object1PartLoaded.RotationOffset.Z,5), | ||
1039 | (float)Math.Round(object1PartLoaded.RotationOffset.W,5)); | ||
1040 | Quaternion qtmp2 = new Quaternion ( | ||
1041 | (float)Math.Round(part1.RotationOffset.X,5), | ||
1042 | (float)Math.Round(part1.RotationOffset.Y,5), | ||
1043 | (float)Math.Round(part1.RotationOffset.Z,5), | ||
1044 | (float)Math.Round(part1.RotationOffset.W,5)); | ||
1045 | |||
1046 | Assert.That(qtmp1, Is.EqualTo(qtmp2), "object1 rotation offset not equal"); | ||
1036 | Assert.That( | 1047 | Assert.That( |
1037 | object1PartLoaded.OffsetPosition, Is.EqualTo(part1.OffsetPosition), "object1 offset position not equal"); | 1048 | object1PartLoaded.OffsetPosition, Is.EqualTo(part1.OffsetPosition), "object1 offset position not equal"); |
1038 | Assert.That(object1PartLoaded.SitTargetOrientation, Is.EqualTo(part1.SitTargetOrientation)); | 1049 | Assert.That(object1PartLoaded.SitTargetOrientation, Is.EqualTo(part1.SitTargetOrientation)); |