-
Notifications
You must be signed in to change notification settings - Fork 106
/
Copy pathetd349-TestCollatz.out
59 lines (58 loc) · 2.3 KB
/
etd349-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
==252== Memcheck, a memory error detector
==252== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==252== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==252== Command: ./TestCollatz
==252==
Running main() from gtest_main.cc
[==========] Running 12 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 12 tests from CollatzFixture
[ RUN ] CollatzFixture.read_1
[ OK ] CollatzFixture.read_1 (23 ms)
[ RUN ] CollatzFixture.read_2
[ OK ] CollatzFixture.read_2 (4 ms)
[ RUN ] CollatzFixture.read_3
[ OK ] CollatzFixture.read_3 (4 ms)
[ RUN ] CollatzFixture.eval_1
[ OK ] CollatzFixture.eval_1 (151 ms)
[ RUN ] CollatzFixture.eval_2
[ OK ] CollatzFixture.eval_2 (55 ms)
[ RUN ] CollatzFixture.eval_3
[ OK ] CollatzFixture.eval_3 (46 ms)
[ RUN ] CollatzFixture.print_1
[ OK ] CollatzFixture.print_1 (7 ms)
[ RUN ] CollatzFixture.print_2
[ OK ] CollatzFixture.print_2 (4 ms)
[ RUN ] CollatzFixture.print_3
[ OK ] CollatzFixture.print_3 (3 ms)
[ RUN ] CollatzFixture.solve_1
[ OK ] CollatzFixture.solve_1 (182 ms)
[ RUN ] CollatzFixture.solve_2
[ OK ] CollatzFixture.solve_2 (206 ms)
[ RUN ] CollatzFixture.solve_3
[ OK ] CollatzFixture.solve_3 (566 ms)
[----------] 12 tests from CollatzFixture (1281 ms total)
[----------] Global test environment tear-down
[==========] 12 tests from 1 test case ran. (1350 ms total)
[ PASSED ] 12 tests.
==252==
==252== HEAP SUMMARY:
==252== in use at exit: 72,704 bytes in 1 blocks
==252== total heap usage: 261 allocs, 260 frees, 134,869 bytes allocated
==252==
==252== LEAK SUMMARY:
==252== definitely lost: 0 bytes in 0 blocks
==252== indirectly lost: 0 bytes in 0 blocks
==252== possibly lost: 0 bytes in 0 blocks
==252== still reachable: 72,704 bytes in 1 blocks
==252== suppressed: 0 bytes in 0 blocks
==252== Rerun with --leak-check=full to see details of leaked memory
==252==
==252== For counts of detected and suppressed errors, rerun with: -v
==252== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
File 'Collatz.c++'
Lines executed:96.97% of 33
Branches executed:100.00% of 24
Taken at least once:79.17% of 24
Calls executed:93.33% of 15
Creating 'Collatz.c++.gcov'