MCPcopy Create free account
hub / github.com/Cantera/cantera / TEST_F

Function TEST_F

test/general/test_matrices.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46TEST_F(BandMatrixTest, matrix_times_vector)
47{
48 vector<double> c(6, 0.0);
49 A1.mult(x.data(), c.data());
50 for (size_t i = 0; i < 6; i++) {
51 EXPECT_DOUBLE_EQ(b1[i], c[i]);
52 }
53 A2.mult(x.data(), c.data());
54 for (size_t i = 0; i < 6; i++) {
55 EXPECT_DOUBLE_EQ(b2[i], c[i]);
56 }
57}
58
59TEST_F(BandMatrixTest, vector_times_matrix)
60{

Callers

nothing calls this directly

Calls 13

solveFunction · 0.85
incrementFunction · 0.85
invertFunction · 0.85
oneNormMethod · 0.80
checkRowsMethod · 0.80
checkColumnsMethod · 0.80
multMethod · 0.45
leftMultMethod · 0.45
solveMethod · 0.45
resizeMethod · 0.45
nColumnsMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected