]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/node_modules/node-gyp/node_modules/path-array/node_modules/array-index/node_modules/es6-symbol/node_modules/es5-ext/test/string/#/contains/shim.js
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / node_modules / node-gyp / node_modules / path-array / node_modules / array-index / node_modules / es6-symbol / node_modules / es5-ext / test / string / # / contains / shim.js
1 'use strict';
2
3 module.exports = function (t, a) {
4         a(t.call('raz', ''), true, "Empty");
5         a(t.call('', ''), true, "Both Empty");
6         a(t.call('raz', 'raz'), true, "Same");
7         a(t.call('razdwa', 'raz'), true, "Starts with");
8         a(t.call('razdwa', 'dwa'), true, "Ends with");
9         a(t.call('razdwa', 'zdw'), true, "In middle");
10         a(t.call('', 'raz'), false, "Something in empty");
11         a(t.call('az', 'raz'), false, "Longer");
12         a(t.call('azasdfasdf', 'azff'), false, "Not found");
13         a(t.call('razdwa', 'raz', 1), false, "Position");
14 };