Sha256: 4c0a67bb676577618b8eafa10414e597d05e7eef8984b480ab745bf8a0ab5855

Contents?: true

Size: 860 Bytes

Versions: 1

Compression:

Stored size: 860 Bytes

Contents

<html>
  <head>
    <title>Min Index</title>
    <script type="text/javascript" src="../../protovis-d3.3.js"></script>
    <script type="text/javascript" src="../testify.js"></script>
    <link type="text/css" href="../style.css" rel="stylesheet"/>
    <link type="text/css" href="../testify.css" rel="stylesheet"/>
  </head>
  <body>
    <script type="text/javascript+protovis">

var i, text = "";

text += ">>> pv.min.index()\n";
text += "<b>domain\texpected\tactual</b>\n";

i = pv.min.index([]);
text += "([])\t-1\t" + i + "\n";

i = pv.min.index([Infinity]);
text += "([Infinity])\t0\t" + i + "\n";

i = pv.min.index([-Infinity]);
text += "([-Infinity])\t0\t" + i + "\n";

i = pv.min.index([NaN]);
text += "([NaN])\t0\t" + i + "\n";

i = pv.min.index([undefined]);
text += "([undefined])\t0\t" + i + "\n";

testify(text);

    </script>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyvis-0.1.1 vendor/tests/data/min-index.html