-
Notifications
You must be signed in to change notification settings - Fork 106
/
cdb3499-TestCollatz.out
executable file
·61 lines (60 loc) · 2.34 KB
/
cdb3499-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
59
60
61
==21703== Memcheck, a memory error detector
==21703== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==21703== Using Valgrind-3.10.1 and LibVEX; rerun with -h for copyright info
==21703== Command: ./TestCollatz
==21703==
Running main() from gtest_main.cc
[==========] Running 16 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 16 tests from CollatzFixture
[ RUN ] CollatzFixture.read
[ OK ] CollatzFixture.read (16 ms)
[ RUN ] CollatzFixture.cycle_1
[ OK ] CollatzFixture.cycle_1 (2 ms)
[ RUN ] CollatzFixture.cycle_2
[ OK ] CollatzFixture.cycle_2 (2 ms)
[ RUN ] CollatzFixture.cycle_3
[ OK ] CollatzFixture.cycle_3 (2 ms)
[ RUN ] CollatzFixture.find_1
[ OK ] CollatzFixture.find_1 (7 ms)
[ RUN ] CollatzFixture.find_2
[ OK ] CollatzFixture.find_2 (944 ms)
[ RUN ] CollatzFixture.find_3
[ OK ] CollatzFixture.find_3 (523 ms)
[ RUN ] CollatzFixture.range_1
[ OK ] CollatzFixture.range_1 (8 ms)
[ RUN ] CollatzFixture.range_2
[ OK ] CollatzFixture.range_2 (8 ms)
[ RUN ] CollatzFixture.range_3
[ OK ] CollatzFixture.range_3 (15 ms)
[ RUN ] CollatzFixture.eval_1
[ OK ] CollatzFixture.eval_1 (2 ms)
[ RUN ] CollatzFixture.eval_2
[ OK ] CollatzFixture.eval_2 (2 ms)
[ RUN ] CollatzFixture.eval_3
[ OK ] CollatzFixture.eval_3 (1 ms)
[ RUN ] CollatzFixture.eval_4
[ OK ] CollatzFixture.eval_4 (3 ms)
[ RUN ] CollatzFixture.print
[ OK ] CollatzFixture.print (6 ms)
[ RUN ] CollatzFixture.solve
[ OK ] CollatzFixture.solve (6 ms)
[----------] 16 tests from CollatzFixture (1554 ms total)
[----------] Global test environment tear-down
[==========] 16 tests from 1 test case ran. (1583 ms total)
[ PASSED ] 16 tests.
==21703==
==21703== HEAP SUMMARY:
==21703== in use at exit: 0 bytes in 0 blocks
==21703== total heap usage: 457 allocs, 457 frees, 70,040 bytes allocated
==21703==
==21703== All heap blocks were freed -- no leaks are possible
==21703==
==21703== For counts of detected and suppressed errors, rerun with: -v
==21703== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Collatz.c++'
Lines executed:100.00% of 44
Branches executed:100.00% of 38
Taken at least once:78.95% of 38
Calls executed:100.00% of 21
Creating 'Collatz.c++.gcov'