-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy patharp979-TestCollatz.out
58 lines (55 loc) · 2.02 KB
/
arp979-TestCollatz.out
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
Running main() from gtest_main.cc
[==========] Running 16 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 16 tests from Collatz
[ RUN ] Collatz.read
[ OK ] Collatz.read (17 ms)
[ RUN ] Collatz.read_2
[ OK ] Collatz.read_2 (3 ms)
[ RUN ] Collatz.read_3
[ OK ] Collatz.read_3 (3 ms)
[ RUN ] Collatz.eval_1
[ OK ] Collatz.eval_1 (2 ms)
[ RUN ] Collatz.eval_2
[ OK ] Collatz.eval_2 (2 ms)
[ RUN ] Collatz.eval_3
[ OK ] Collatz.eval_3 (2 ms)
[ RUN ] Collatz.eval_4
[ OK ] Collatz.eval_4 (2 ms)
[ RUN ] Collatz.cycle_length_1
[ OK ] Collatz.cycle_length_1 (1 ms)
[ RUN ] Collatz.cycle_length_2
[ OK ] Collatz.cycle_length_2 (2 ms)
[ RUN ] Collatz.cycle_length_3
[ OK ] Collatz.cycle_length_3 (2 ms)
[ RUN ] Collatz.print
[ OK ] Collatz.print (9 ms)
[ RUN ] Collatz.print_2
[ OK ] Collatz.print_2 (2 ms)
[ RUN ] Collatz.print_3
[ OK ] Collatz.print_3 (2 ms)
[ RUN ] Collatz.solve
[ OK ] Collatz.solve (3 ms)
[ RUN ] Collatz.solve_2
[ OK ] Collatz.solve_2 (4 ms)
[ RUN ] Collatz.solve_3
[ OK ] Collatz.solve_3 (17 ms)
[----------] 16 tests from Collatz (84 ms total)
[----------] Global test environment tear-down
[==========] 16 tests from 1 test case ran. (111 ms total)
[ PASSED ] 16 tests.
dots$ valgrind TestCollatz > TestCollatz.out
==10854== Memcheck, a memory error detector
==10854== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==10854== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==10854== Command: TestCollatz
==10854==
==10854==
==10854== HEAP SUMMARY:
==10854== in use at exit: 0 bytes in 0 blocks
==10854== total heap usage: 808 allocs, 808 frees, 89,852 bytes allocated
==10854==
==10854== All heap blocks were freed -- no leaks are possible
==10854==
==10854== For counts of detected and suppressed errors, rerun with: -v
==10854== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 2 from 2)