Skip to content

Commit

Permalink
Also test I/O of multiplication operation
Browse files Browse the repository at this point in the history
  • Loading branch information
eguiraud committed Oct 1, 2023
1 parent 0025ab4 commit 7d1563b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ TEST(Graph, MulEval) {
}

TEST(Tests, WriteAndReadGraph) {
const Const c{40.};
const Const c{20.};
const Var x{"x"};
const Inputs inputs{{"x", 2.}};

const Graph g1 = x + c;
const Graph g1 = x + c * x;

// write out
const absl::Status status = to_file(g1, "test.pb");
Expand Down

0 comments on commit 7d1563b

Please sign in to comment.