1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-30 14:30:16 +00:00

added tests for bt::normalized_at, and some old tests for distances

This commit is contained in:
Zeno Rogue
2020-03-31 18:57:22 +02:00
parent 8e865d1a69
commit 4e7aadf540
2 changed files with 84 additions and 0 deletions

View File

@@ -654,6 +654,8 @@ EX namespace bt {
*
* Otherwise: just return h
*
* See also: in devmods/tests.cpp, -bt-test tests whether this works correctly
*
*/
EX transmatrix normalized_at(hyperpoint h) {