-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtests.html
More file actions
27 lines (26 loc) · 945 Bytes
/
tests.html
File metadata and controls
27 lines (26 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Math Generator Tests</title>
<style>
body { font-family: monospace; margin: 20px; background: #1a1a2e; color: #e0e0e0; }
#summary { font-size: 1.3em; padding: 10px; margin-bottom: 16px; border-radius: 4px; }
.pass { color: #4caf50; }
.fail { color: #f44336; }
.suite { margin: 16px 0; border: 1px solid #333; border-radius: 4px; padding: 10px; }
.suite h2 { margin: 0 0 8px; font-size: 1.1em; }
.test { padding: 2px 0; }
.test.fail { background: #3a1a1a; padding: 4px 8px; margin: 2px 0; border-radius: 2px; }
.detail { color: #ff8a80; font-size: 0.9em; margin-left: 24px; }
</style>
</head>
<body>
<h1>Math Generator — Tests</h1>
<p>Tests have moved server-side. Run: <code>node run-tests.js</code></p>
<div id="summary"></div>
<div id="results"></div>
<script src="js/problems.js"></script>
<script src="run-tests-browser.js"></script>
</body>
</html>