MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/Imath / testStream

Function testStream

src/ImathTest/testInterval.cpp:679–695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677
678template <class T>
679void
680testStream (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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected