nearest-periodic-value
Version:
Find the nearest value of a discrete periodic function, given a point.
31 lines (25 loc) • 877 B
HTML
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Tests</title>
<link rel='stylesheet' href='../node_modules/mocha/mocha.css' />
<!-- Testing libraries -->
<script src='../node_modules/mocha/mocha.js'></script>
<script src='../node_modules/chai/chai.js'></script>
<script src='../node_modules/sinon/pkg/sinon.js'></script>
<script src='../node_modules/sinon-chai/lib/sinon-chai.js'></script>
<!-- Livereload -->
<script src='http://localhost:35729/livereload.js'></script>
<!-- Polyfill (required by 6to5) -->
<script src='../node_modules/6to5/browser-polyfill.js'></script>
<!-- Load the built library -->
<script src='../tmp/__spec-build.js'></script>
<!-- Add your tests here -->
<script src='unit/nearest.js'></script>
</head>
<body>
<!-- Required for browser reporter -->
<div id='mocha'></div>
</body>
</html>