• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pim-book / programmers-introduction-to-mathematics / #987

pending completion
#987

push

travis-ci

GitHub
build(deps): bump decode-uri-component in /waves/javascript_demo

910 of 910 relevant lines covered (100.0%)

1.0 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/secret_sharing/examples.py
1
from polynomial import *
1✔
2
from interpolate import *
1✔
3

4
f = Polynomial([109, -55, 271])
1✔
5
for i in range(1, 6):
1✔
6
    print((i, f(i)))
1✔
7

8
pts = [(1, 325), (3, 2383), (5, 6609)]
1✔
9
f = interpolate(pts)
1✔
10

11
print(f)
1✔
12
print(f(0))
1✔
13

14

15
pts = [(2, 1083), (5, 6609)]
1✔
16
f = interpolate(pts + [(0, 533)])
1✔
17

18
print(f)
1✔
19
print(f(0))
1✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc