29 lines
1.3 KiB
JavaScript
29 lines
1.3 KiB
JavaScript
|
const chai = require("chai");
|
||
|
const chaiHttp = require("chai-http");
|
||
|
const assert = chai.assert;
|
||
|
const server = require("../server");
|
||
|
|
||
|
chai.use(chaiHttp);
|
||
|
|
||
|
suite("Functional Tests", () => {});
|
||
|
|
||
|
/*
|
||
|
TODO:
|
||
|
|
||
|
Solve a puzzle with valid puzzle string: POST request to /api/solve
|
||
|
Solve a puzzle with missing puzzle string: POST request to /api/solve
|
||
|
Solve a puzzle with invalid characters: POST request to /api/solve
|
||
|
Solve a puzzle with incorrect length: POST request to /api/solve
|
||
|
Solve a puzzle that cannot be solved: POST request to /api/solve
|
||
|
Check a puzzle placement with all fields: POST request to /api/check
|
||
|
Check a puzzle placement with single placement conflict: POST request to /api/check
|
||
|
Check a puzzle placement with multiple placement conflicts: POST request to /api/check
|
||
|
Check a puzzle placement with all placement conflicts: POST request to /api/check
|
||
|
Check a puzzle placement with missing required fields: POST request to /api/check
|
||
|
Check a puzzle placement with invalid characters: POST request to /api/check
|
||
|
Check a puzzle placement with incorrect length: POST request to /api/check
|
||
|
Check a puzzle placement with invalid placement coordinate: POST request to /api/check
|
||
|
Check a puzzle placement with invalid placement value: POST request to /api/check
|
||
|
|
||
|
*/
|