Commit 662b6706 authored by Samuel Jackson's avatar Samuel Jackson
Browse files

Fix test method

parent 313c5f8d
......@@ -594,7 +594,7 @@ public:
p.setInitialEnergy(initialEnergy);
p.setFinalEnergy(finalEnergy);
TS_ASSERT_EQUALS(p.getEnergy(), initialEnergy - finalEnergy);
TS_ASSERT_EQUALS(p.getEnergyTransfer(), initialEnergy - finalEnergy);
}
private:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment