-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests.h
65 lines (34 loc) · 960 Bytes
/
tests.h
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
#include <stdio.h>
#include "chip8.h"
#include "stack.h"
#define SUCCESS 0
#define FAILURE 1
int (*test_table[16])(chip8_t *chip8);
int (*chip8_test_arithmetic[16])(chip8_t *chip8);
int test_arithmetic_0 (chip8_t *);
int test_arithmetic_1 (chip8_t *);
int test_arithmetic_2 (chip8_t *);
int test_arithmetic_3 (chip8_t *);
int test_arithmetic_4 (chip8_t *);
int test_arithmetic_5 (chip8_t *);
int test_arithmetic_6 (chip8_t *);
int test_arithmetic_7 (chip8_t *);
int test_arithmetic_E (chip8_t *);
int illegal_func_int (chip8_t *);
int test_0(chip8_t *);
int test_1(chip8_t *);
int test_2(chip8_t *);
int test_3(chip8_t *);
int test_4(chip8_t *);
int test_5(chip8_t *);
int test_6(chip8_t *);
int test_7(chip8_t *);
int test_8(chip8_t *);
int test_9(chip8_t *);
int test_A(chip8_t *);
int test_B(chip8_t *);
int test_C(chip8_t *);
int test_D(chip8_t *);
int test_E(chip8_t *);
int test_F(chip8_t *);
int run_test(unsigned short);