Welcome, Guest! Log In | Create Account

Changeset 1861

Show
Ignore:
Timestamp:
11/02/09 10:33:32 (2 months ago)
Author:
borrillis
Message:

-updated TypeMock? Isolator to 5.4.3

Location:
trunk/Projects/Tests/Axiom.Tests
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/Projects/Tests/Axiom.Tests/Axiom.Tests.csproj

    r1856 r1861  
    6363    <Reference Include="System.Drawing" /> 
    6464    <Reference Include="System.Xml" /> 
    65     <Reference Include="TypeMock, Version=5.3.5.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2, processorArchitecture=MSIL" /> 
    66     <Reference Include="Typemock.ArrangeActAssert, Version=5.3.5.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2, processorArchitecture=MSIL" /> 
     65    <Reference Include="TypeMock, Version=5.4.3.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2, processorArchitecture=MSIL" /> 
     66    <Reference Include="Typemock.ArrangeActAssert, Version=5.4.3.0, Culture=neutral, PublicKeyToken=3dae460033b8d8e2, processorArchitecture=MSIL" /> 
    6767  </ItemGroup> 
    6868  <ItemGroup> 
     
    117117      <Name>Axiom %28Axiom\Axiom%29</Name> 
    118118    </ProjectReference> 
     119    <ProjectReference Include="..\..\Axiom\Platforms\Win32\Axiom.Platforms.Win32.csproj"> 
     120      <Project>{77AC0D3A-2A99-4EA6-A90E-C71BB53751C5}</Project> 
     121      <Name>Axiom.Platforms.Win32</Name> 
     122    </ProjectReference> 
    119123    <ProjectReference Include="..\..\Axiom\RenderSystems\DirectX9\Axiom.RenderSystems.DirectX9.csproj"> 
    120124      <Project>{68DBB62F-F98D-47B5-A769-C20B461227AB}</Project> 
  • trunk/Projects/Tests/Axiom.Tests/Graphics/GpuProgramParametersTestFixture.cs

    r1751 r1861  
    105105                                        (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom(), 
    106106                                        (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom(), (float)Utility.SymmetricRandom() }; 
    107             float[] actual; 
     107 
     108            float[] actual = new float[16]; 
    108109 
    109110            GpuProgramParameters parameters = new GpuProgramParameters(); 
     
    116117 
    117118            Assert.IsTrue( parameters.GetFloatConstant( 0 ).isSet ); 
    118             actual = parameters.GetFloatConstant( 0 ).val; 
     119            Assert.IsTrue( parameters.GetFloatConstant( 1 ).isSet ); 
     120            Assert.IsTrue( parameters.GetFloatConstant( 2 ).isSet ); 
     121            Assert.IsTrue( parameters.GetFloatConstant( 3 ).isSet ); 
     122            parameters.GetFloatConstant( 0 ).val.CopyTo( actual, 0 ) ; 
     123            parameters.GetFloatConstant( 1 ).val.CopyTo( actual, 4 ); 
     124            parameters.GetFloatConstant( 2 ).val.CopyTo( actual, 8 ); 
     125            parameters.GetFloatConstant( 3 ).val.CopyTo( actual, 12 ); 
     126 
    119127            Assert.AreEqual( expected, actual ); 
    120128        } 
  • trunk/Projects/Tests/Axiom.Tests/Math/AxisAlignedBoxTest.cs

    r1848 r1861  
    3939 
    4040            AxisAlignedBox[] expected = { 
    41                                             new AxisAlignedBox( new Vector3( -500.00000f, 0.00000000f, 500.00000f ), 
    42                                                                 new Vector3( -499.00000f, 1.0000000f, 501.00000f ) ), 
     41                                            new AxisAlignedBox( new Vector3( -500.00000f, -0.50000000f, -0.50000000f ), 
     42                                                                new Vector3( 0.50000000f, 1.0000000f, 501.00000f ) ), 
    4343                                        }; 
    4444