📄 tests.txt
字号:
--- Test 1 --------------------------
Initialising maze engine of size 3,3,3...
Player string is "Unknown:50:-1,-1,-1" ... correct
--- Test 2 --------------------------
Initialising maze engine of size 3,3,3...
Creating first room... OK
Creating second room... OK
Finding first room with getRoom()... OK
Finding second room with getRoom()... OK
Checking rooms with getAllRooms()... OK
--- Test 3 --------------------------
Initialising maze engine of size 3,3,3...
Creating a room... OK
Adding first item... OK
Adding second item... OK
Checking items in the room... OK
--- Test 4 --------------------------
Initialising maze engine of size 3,3,3...
Creating a room... OK
Adding first item... OK
Adding second item... OK
Checking items in the room... OK
Removing item that doesn't exist... OK
Checking items in the room... OK
Removing item that does exist... OK
Checking items in the room... OK
--- Test 5 --------------------------
Initialising maze engine of size 3,3,3...
Creating a room... OK
Creating a room... OK
Creating a room... OK
Adding first exit point... OK
Adding second exit point... OK
Checking exits in the room... OK
--- Test 6 --------------------------
Initialising maze engine of size 3,3,3...
Creating a room... OK
Creating a room... OK
Creating a room... OK
Adding first exit point... OK
Adding second exit point... OK
Checking exits in the room... OK
Removing exit that doesn't exist... OK
Checking exits in the room... OK
Removing exit that does exist... OK
Checking exits in the room... OK
--- Test 7 --------------------------
Initialising maze engine of size 3,3,3...
Creating first room... OK
Creating a clashing room... OK
Checking rooms with getAllRooms()... OK
Creating a second room... OK
Checking rooms with getAllRooms()... OK
--- Test 8 --------------------------
Initialising maze engine of size 5,5,5...
Checking maze size ... correct
Initialising maze engine of size 1,2,3...
Checking maze size ... correct
--- Test 9 --------------------------
Initialising maze engine of size 3,3,3...
Creating origin room... OK
Creating MaxX room... OK
Creating MaxY room... OK
Creating MaxZ room... OK
Creating MaxXY room... OK
Creating MaxYZ room... OK
Creating MaxXZ room... OK
Creating MaxXYZ room... OK
Checking rooms with getAllRooms()... OK
Creating a room out of bounds... OK
Checking rooms with getAllRooms()... OK
--- Test 10 --------------------------
Initialising maze engine of size 10,10,10...
Building test maze...
Checking for reset result... OK
Setting a start point... OK
Setting a finish point... OK
Checking for reset result... OK
Player string is "Unknown:50:1,2,3" ... correct
--- Test 11 --------------------------
Initialising maze engine of size 10,10,10...
Building test maze...
Setting a start point... OK
Setting a finish point... OK
Checking for reset result... OK
Player string is "Unknown:50:1,2,3" ... correct
Moving the player... OK
Player string is "Unknown:48:1,2,4" ... correct
--- Test 12 --------------------------
Initialising maze engine of size 10,10,10...
Building test maze...
Setting a start point... OK
Setting a finish point... OK
Checking for reset result... OK
Moving the player... OK
Player string is "Unknown:48:1,2,4" ... correct
Moving the player... OK
Player string is "Unknown:46:1,2,5" ... correct
--- Test 13 --------------------------
Initialising maze engine of size 10,10,10...
Building test maze...
Setting a start point... OK
Setting a finish point... OK
Checking for reset result... OK
Moving the player to win (1)... OK
Moving the player to win (2)... OK
Moving the player to win (3)... game exception thrown, OK
--- Test 14 --------------------------
Initialising maze engine of size 10,10,10...
Building test maze...
Setting a start point... OK
Setting a finish point... OK
Checking for reset result... OK
Moving the player to lose (1)... OK
Moving the player to lose (2)... OK
Moving the player to lose (3)... game exception thrown, OK
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -