ui基本完毕,修了一大把的bug
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
using UnityEngine.TestTools;
|
||||
|
||||
public class TriangulationPointTests
|
||||
{
|
||||
[Test]
|
||||
public void TestInit()
|
||||
{
|
||||
int index = 1;
|
||||
Vector2 coords = new Vector2(0.5f, 0.75f);
|
||||
|
||||
var point = new TriangulationPoint(index, coords);
|
||||
|
||||
Assert.AreEqual(index, point.index);
|
||||
Assert.AreEqual(coords, point.coords);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user