Skip to content

Commit

Permalink
Continued work
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorLai committed Sep 26, 2024
1 parent 33cece1 commit efed2cf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/reputation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ describe('steem.format.reputation', ()=> {
it('rep 0 => 25', () => {
assert.equal(reputation(0, 1), 25);
});
it('rep 95832978796820 => 69', () => {
it('rep 95832978796820 => 69.83', () => {
assert.equal(reputation(95832978796820, 2), 69.83);
});
it('rep 10004392664120 => 61', () => {
it('rep 10004392664120 => 61.002', () => {
assert.equal(reputation(10004392664120, 3), 61.002);
});
it('rep 30999525306309 => 65', () => {
it('rep 30999525306309 => 65.4222', () => {
assert.equal(reputation(30999525306309, 4), 65.4222);
});
it('rep -37765258368568 => -16', () => {
it('rep -37765258368568 => -16.19383', () => {
assert.equal(reputation(-37765258368568, 5), -16.19383);
});
it('rep 334486135407077 => 74', () => {
it('rep 334486135407077 => 74.719403', () => {
assert.equal(reputation(334486135407077, 6), 74.719403);
});
it('rep null => null', () => {
Expand All @@ -59,10 +59,10 @@ describe('steem.format.reputation', ()=> {
it('rep undefined => undefined', () => {
assert.equal(reputation(undefined, 8), undefined);
});
it('rep -1234123412342234 => -29', () => {
it('rep -1234123412342234 => -29.822227322', () => {
assert.equal(reputation(-1234123412342234, 9), -29.822227322);
});
it('rep -22233344455 => 12', () => {
it('rep -22233344455 => 12.8769568338', () => {
assert.equal(reputation(-22233344455, 10), 12.8769568338);
});
})

0 comments on commit efed2cf

Please sign in to comment.