MyraMath
pmultiply


Source: tests/pdense/detail/pmultiply.cpp

1 // ========================================================================= //
2 // This file is part of MyraMath, copyright (c) 2014-2019 by Ryan A Chilton //
3 // and distributed by MyraCore, LLC. See LICENSE.txt for license terms. //
4 // ========================================================================= //
5 
11 // JobGraph under test.
12 #include <myramath/pdense/detail/multiply.h>
15 
16 // Reporting.
17 #include <tests/myratest.h>
18 
19 using namespace myra;
20 
21 ADD_TEST("pmultiply","[pdense][jobgraph]")
22  {
23  // Initialize JobGraph, check topology.
24  int K = 5;
25  std::pair<int,int> IJ(7,8);
26  typedef pdense::detail::multiply::JobGraphBase Graph;
27  Graph graph(K,IJ,'F');
28  REQUIRE( verify(graph) );
29  // Save .dot file to disk?
30  graphviz(graph,"graph.dot");
31  }
Given a JobGraph G, verifies it has valid topology.
Definition: syntax.dox:1
Given a JobGraph, produces a .dot file for visualization with graphviz.


Results: [PASS]


Go back to Summary of /test programs.