-
Notifications
You must be signed in to change notification settings - Fork 23
/
index.html
92 lines (89 loc) · 4.45 KB
/
index.html
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous" />
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"
defer></script>
<script src="./script.js" defer></script>
<script src="./testes.js" defer></script>
<style>td,th {text-align: center;}</style>
<title>Document</title>
</head>
<body>
<main class="container py-5">
<section class="d-grid gap-2">
<h1>Testes palíndromo</h1>
<button onclick="testPalindromos()" class="btn btn-primary" type="button">
Executar testes isPalindrome()
</button>
<div class="accordion" id="accordionPalindrome">
<div class="accordion-item">
<h2 class="accordion-header" id="headingOne">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
Lista de testes
</button>
</h2>
<div id="collapseOne" class="accordion-collapse collapse" aria-labelledby="headingOne"
data-bs-parent="#accordionPalindrome">
<div class="accordion-body">
<table id="palindrome_table" class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Frase</th>
<th scope="col">Retorno</th>
<th scope="col">Resultado esperado</th>
<th scope="col">Passou no teste?</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
<section class="d-grid gap-2" style="margin-top: 50px">
<h1>Testes mínimo e máximo</h1>
<button onclick="testMinMax()" class="btn btn-primary" type="button">
Executar testes arrayMaxMin()
</button>
<div class="accordion" id="accordionMinMax">
<div class="accordion-item">
<h2 class="accordion-header" id="headingTwo">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#collapseTwo" aria-expanded="true" aria-controls="collapseOne">
Lista de testes
</button>
</h2>
<div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo"
data-bs-parent="#accordionMinMax">
<div class="accordion-body">
<table id="minmax_table" class="table">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Array</th>
<th scope="col">Min</th>
<th scope="col">Max</th>
<th scope="col">Retorno</th>
<th scope="col">Passou no teste?</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>
</main>
</body>
</html>