| 677 | |
| 678 | template <class T> |
| 679 | void |
| 680 | testStream (const char* type) |
| 681 | { |
| 682 | cout << " hasVolume() for type " << type << endl; |
| 683 | |
| 684 | T min (0); |
| 685 | T max (1); |
| 686 | |
| 687 | IMATH_INTERNAL_NAMESPACE::Interval<T> b (min, max); |
| 688 | std::stringstream s1; |
| 689 | s1 << '(' << min << ' ' << max << ')'; |
| 690 | |
| 691 | std::stringstream s2; |
| 692 | s2 << b; |
| 693 | |
| 694 | assert (s1.str () == s2.str ()); |
| 695 | } |
| 696 | |
| 697 | } // anonymous namespace |
| 698 |
nothing calls this directly
no outgoing calls
no test coverage detected