NUnit.Framework.Assert.LessOrEqual(float, float)

Here are the examples of the csharp api class NUnit.Framework.Assert.LessOrEqual(float, float) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

19 Examples 7

1. Example

Project: GlmSharp
Source File: vec2.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new vec2(2.5f, -1f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(-4f, -7.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(-9f, 7f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(6f, -2f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(1f, -4f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(-6f, 8.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(5.5f, 6f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(9.5f, 9.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(6.5f, 7.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec2(3.5f, 7.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

2. Example

Project: GlmSharp
Source File: ivec4.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new ivec4(4, -1, -2, -1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(2, 0, -8, -9);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(4, 8, -1, -3);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(-8, 6, 0, 8);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(-1, 7, 9, 2);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(4, 2, -3, 6);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(9, 4, -2, 8);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(-8, 5, -2, -2);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(-5, 1, -5, -9);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec4(-1, -4, -7, -7);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

3. Example

Project: GlmSharp
Source File: hvec3.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new hvec/n ..... /n //View Source file for more details /n }

4. Example

Project: GlmSharp
Source File: hvec2.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new hvec/n ..... /n //View Source file for more details /n }

5. Example

Project: GlmSharp
Source File: ivec2.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new ivec2(9, 1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(3, -2);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(-8, 2);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(-4, 2);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(-8, 0);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(2, 5);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(-3, -9);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(-7, 7);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(6, 4);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec2(9, 7);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

6. Example

Project: GlmSharp
Source File: ivec3.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new ivec3(7, -2, 1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(-7, -2, 5);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(5, 4, -9);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(-3, -8, 4);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(7, -1, 1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(7, 5, -1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(6, -8, 4);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(-6, -9, 8);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(-5, -3, 1);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new ivec3(-1, 4, 4);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

7. Example

Project: GlmSharp
Source File: uvec4.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new uvec4(9u, 9u, 4u, 9u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(7u, 6u, 2u, 9u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(8u, 9u, 2u, 0u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(5u, 5u, 3u, 4u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(0u, 5u, 6u, 4u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(3u, 5u, 4u, 2u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(8u, 4u, 0u, 0u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(4u, 2u, 5u, 7u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(3u, 0u, 1u, 3u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec4(0u, 9u, 7u, 9u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

8. Example

Project: GlmSharp
Source File: uvec2.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new uvec2(9u, 5u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(4u, 6u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(2u, 8u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(0u, 3u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(6u, 7u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(6u, 0u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(0u, 7u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(7u, 1u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(4u, 7u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec2(4u, 1u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

9. Example

Project: GlmSharp
Source File: uvec3.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new uvec3(2u, 3u, 1u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(7u, 7u, 8u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(1u, 7u, 6u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(1u, 9u, 1u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(3u, 0u, 4u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(8u, 3u, 9u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(7u, 8u, 4u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(3u, 5u, 0u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(0u, 7u, 2u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new uvec3(1u, 4u, 8u);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

10. Example

Project: GlmSharp
Source File: hvec4.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new hvec/n ..... /n //View Source file for more details /n }

11. Example

Project: GlmSharp
Source File: vec4.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new vec4(-7f, 3f, 0f, -3f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(-9f, 0f, -6f, 7f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(-5f, -9f, -0.5f, -7.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(-1f, 6.5f, -6.5f, -1f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(4.5f, -9f, 6f, 7.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(6f, 5f, -7.5f, -1.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(-3.5f, 2f, -5.5f, -5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(5f, 3.5f, 3.5f, 0.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(-2.5f, 3f, 6f, -9f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec4(4.5f, -5.5f, 4f, 7f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

12. Example

Project: GlmSharp
Source File: vec3.Test.cs
View license
[Test]
        public void InvariantNorm()
        {
            {
                var v0 = new vec3(-4.5f, 7f, -2.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(7.5f, -9f, 4f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-1f, 0.5f, 8f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(6.5f, -7.5f, 0.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-6.5f, 1f, -2f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-4.5f, 5.5f, -1.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(0f, 7.5f, -1f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-0.5f, 1.5f, -8.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-1.5f, 9.5f, 9f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
            {
                var v0 = new vec3(-6.5f, -1.5f, 2.5f);
                Assert.LessOrEqual(v0.NormMax, v0.Norm);
            }
        }

13. Example

Project: AutoTest.Net
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

14. Example

Project: ContinuousTests
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

15. Example

Project: AutoTest.Net
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

16. Example

Project: AutoTest.Net
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

17. Example

Project: nunit
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

18. Example

Project: ContinuousTests
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }

19. Example

Project: ContinuousTests
Source File: LessEqualFixture.cs
View license
[Test]
        public void LessOrEqual()
        {
            // Test equality check for all forms
/n ..... /n //View Source file for more details /n }