You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Translate two unit tests from GO to Rust.
* translate baseline reward test from golang to rust
* Translate TestSimpleReward test from Go to Rust
* Convert BaselineRewardGrowth test from Go to Rust
Co-authored-by: Josh Jones <[email protected]>
// compare test output to golden file used for golang tests; file originally located at filecoin-project/specs-actors/actors/builtin/reward/testdata/TestSimpleReward.golden (current link: https://github.com/filecoin-project/specs-actors/blob/d56b240af24517443ce1f8abfbdab7cb22d331f1/actors/builtin/reward/testdata/TestSimpleReward.golden)
240
+
let filename = "testdata/TestSimpleReward.golden";
241
+
let golden_contents =
242
+
fs::read_to_string(filename).expect("Something went wrong reading the file");
0 commit comments