1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-10 00:25:40 +00:00

Remove X10D.Unity from solution

This commit is contained in:
Oliver Booth 2022-02-14 12:13:29 +00:00
parent 62902c33e4
commit 3592ec555e
2 changed files with 0 additions and 99 deletions

View File

@ -1,93 +0,0 @@
namespace X10D.Tests.Unity
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnityEngine;
using X10D.Unity;
/// <summary>
/// Tests for <see cref="Vector3Extensions" />.
/// </summary>
[TestClass]
public class Vector3Tests
{
/// <summary>
/// Tests for <see cref="Vector3Extensions.Round" /> by rounding to the nearest 0.5.
/// </summary>
[TestMethod]
public void TestRoundHalf()
{
var vector = new Vector3(1.8f, 2.1f, 3.37f);
Assert.AreEqual(new Vector3(2, 2, 3.5f), vector.Round(0.5f));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.Round" /> by rounding to the nearest integer.
/// </summary>
[TestMethod]
public void TestRoundInteger()
{
var vector = new Vector3(1.8f, 2.1f, 3.37f);
Assert.AreEqual(new Vector3(2, 2, 3), vector.Round());
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithX" />.
/// </summary>
[TestMethod]
public void TestWithX()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(4, 2, 3), vector.WithX(4));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithXY" />.
/// </summary>
[TestMethod]
public void TestWithXY()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(8, 10, 3), vector.WithXY(8, 10));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithXZ" />.
/// </summary>
[TestMethod]
public void TestWithXZ()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(8, 2, 10), vector.WithXZ(8, 10));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithY" />.
/// </summary>
[TestMethod]
public void TestWithY()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(1, 4, 3), vector.WithY(4));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithYZ" />.
/// </summary>
[TestMethod]
public void TestWithYZ()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(1, 8, 10), vector.WithYZ(8, 10));
}
/// <summary>
/// Tests for <see cref="Vector3Extensions.WithZ" />.
/// </summary>
[TestMethod]
public void TestWithZ()
{
var vector = new Vector3(1, 2, 3);
Assert.AreEqual(new Vector3(1, 2, 4), vector.WithZ(4));
}
}
}

View File

@ -18,8 +18,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
icon.png = icon.png icon.png = icon.png
EndProjectSection EndProjectSection
EndProject EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "X10D.Unity", "X10D.Unity\X10D.Unity.csproj", "{C21ABC58-68D6-4CA0-9CE6-A2E96C5E89AE}"
EndProject
Global Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU Debug|Any CPU = Debug|Any CPU
@ -34,10 +32,6 @@ Global
{DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Debug|Any CPU.Build.0 = Debug|Any CPU {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.ActiveCfg = Release|Any CPU {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.Build.0 = Release|Any CPU {DF228EA2-D8EC-4A40-8917-E1E62E3B7D8E}.Release|Any CPU.Build.0 = Release|Any CPU
{C21ABC58-68D6-4CA0-9CE6-A2E96C5E89AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C21ABC58-68D6-4CA0-9CE6-A2E96C5E89AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C21ABC58-68D6-4CA0-9CE6-A2E96C5E89AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C21ABC58-68D6-4CA0-9CE6-A2E96C5E89AE}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection EndGlobalSection
GlobalSection(SolutionProperties) = preSolution GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE HideSolutionNode = FALSE