~charlesk/keeper/lp-1614764-fix-excess-signal-subscriptions

« back to all changes in this revision

Viewing changes to tests/unit/helper/speed-test.cpp

  • Committer: Charles Kerr
  • Date: 2016-08-12 05:33:04 UTC
  • mfrom: (89.1.5 fix-speed-test)
  • Revision ID: charles.kerr@canonical.com-20160812053304-u3cboit1iysxvj21
mergeĀ lp:~charlesk/keeper/fix-speed-test

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    {
38
38
        helper.record_data_transferred(1);
39
39
        --n_left;
40
 
        EXPECT_EQ(int((10*(n_bytes-n_left)/n_bytes)), int(10*helper.percent_done()));
 
40
        EXPECT_EQ(int((10*(n_bytes-n_left)/double(n_bytes))), int(10*double(helper.percent_done())));
41
41
    }
42
42
}
43
43