待测试函数
需要测试的函数的功能已经写在对应函数的注释里。
函数所在文件
函数名称
函数签名
需要测试的地方
Tested
GeometryVectorUtility.cs
GetPointsOfManhattanCircle
Vector2Int pivot, float radius
测试此函数的功能是否正确 测试此函数返回的点是否重复
GeometryVectorUtility.cs
GetPointsOfEuclideanCircle
Vector2Int pivot, float radius
测试此函数的功能是否正确 测试此函数返回的点是否重复
RandomUtility.cs
GenerateUniqueVector2Ints
int count, Vector2Int minPos, Vector2Int maxPos
测试此函数的功能是否正确
RandomUtility.cs
GenerateUniqueVector3Ints
int count, Vector3Int minPos, Vector3Int maxPos
测试此函数的功能是否正确
RandomUtility.cs
RandomRangeInteger
只有一个函数重载
测试此函数的功能是否正确 测试此函数返回的RangeInteger是否在限定的范围内是均匀分布
RandomUtility.cs
RandomRangeFloat
只有一个函数重载
测试此函数的功能是否正确
最后更新于
这有帮助吗?