Newly tracked file
test/TestRational.cpp
changed.
Showing 1 of 1 files from the diff.
@@ -435,7 +435,14 @@
Loading
435 | 435 | } |
|
436 | 436 | { |
|
437 | 437 | Rational<int> r(1, 2); |
|
438 | + | #ifdef __clang__ |
|
439 | + | # pragma clang diagnostic push |
|
440 | + | # pragma clang diagnostic ignored "-Wself-assign-overloaded" |
|
441 | + | #endif |
|
438 | 442 | r -= r; |
|
443 | + | #ifdef __clang__ |
|
444 | + | # pragma clang diagnostic pop |
|
445 | + | #endif |
|
439 | 446 | CHECK(r == Rational<int>(0, 1)); |
|
440 | 447 | } |
|
441 | 448 | { |
@@ -655,7 +662,14 @@
Loading
655 | 662 | { |
|
656 | 663 | { |
|
657 | 664 | Rational<int> r(1, 2); |
|
665 | + | #ifdef __clang__ |
|
666 | + | # pragma clang diagnostic push |
|
667 | + | # pragma clang diagnostic ignored "-Wself-assign-overloaded" |
|
668 | + | #endif |
|
658 | 669 | r /= r; |
|
670 | + | #ifdef __clang__ |
|
671 | + | # pragma clang diagnostic pop |
|
672 | + | #endif |
|
659 | 673 | CHECK(r == Rational<int>(1, 1)); |
|
660 | 674 | } |
|
661 | 675 | { |
Files | Coverage |
---|---|
include/gbMath | 100.00% |
test | 100.00% |
Project Totals (53 files) | 100.00% |
1654776037
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.