<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2017-04-25 15:47:19 +0900 (Tue, 25 Apr 2017)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46">2e9786d9c04bb451491dd6448c53e3bfcb64eb46</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Add Column#weight_vector?</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3">ext/groonga/rb-grn-column.c</a></li>
<li><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735c">test/test-fix-size-column.rb</a></li>
<li><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482">test/test-index-column.rb</a></li>
<li><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263af">test/test-variable-size-column.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: ext/groonga/rb-grn-column.c (+22 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L654">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L655">655</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L656">656</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L657">657</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L658">658</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L659">659</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L660">660</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L833">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L834">834</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L835">835</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L836">836</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L837">837</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L838">838</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3L839">839</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R654">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R655">655</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R656">656</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R657">657</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R658">658</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R659">659</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R660">660</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R661">661</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R662">662</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R663">663</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R664">664</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R665">665</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R666">666</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R667">667</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R668">668</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R669">669</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R670">670</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R671">671</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R672">672</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R673">673</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R674">674</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R675">675</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R676">676</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R677">677</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R678">678</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R679">679</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R680">680</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R853">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R854">854</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R855">855</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R856">856</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R857">857</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R858">858</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R859">859</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R860">860</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-2b48332411d2dd0b0956b92aae106ff3R861">861</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -655,6 +655,26 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_column_vector_p (VALUE self)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> }</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /*</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ * @overload weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ * @return [Bool] `true` if the column is a weight vector column,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ * `false` otherwise.</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ *</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ * @since 7.0.2</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ */</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+static VALUE</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+rb_grn_column_weight_vector_p (VALUE self)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+{</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_ctx *context;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ grn_obj *column;</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ rb_grn_column_deconstruct(SELF(self), &column, &context,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ NULL, NULL,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ NULL, NULL, NULL);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ return CBOOL2RVAL(grn_obj_is_weight_vector_column(context, column));</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+}</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+/*</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> * _column_ がスカラーカラムの場合は +true+ を返し、</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> * そうでない場合は +false+ を返す。</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> *</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -834,6 +854,8 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">rb_grn_init_column (VALUE mGrn)</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /* deprecated: backward compatibility */</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_define_alias(rb_cGrnColumn, "index_column?", "index?");</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_define_method(rb_cGrnColumn, "vector?", rb_grn_column_vector_p, 0);</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ rb_define_method(rb_cGrnColumn, "weight_vector?",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ rb_grn_column_weight_vector_p, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_define_method(rb_cGrnColumn, "scalar?", rb_grn_column_scalar_p, 0);</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> rb_define_method(rb_cGrnColumn, "with_weight?",</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test-fix-size-column.rb (+6 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL127">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL130">130</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL131">131</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL132">132</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cL133">133</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR127">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR128">128</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR129">129</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR130">130</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR131">131</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR132">132</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR133">133</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR134">134</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR135">135</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR136">136</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR137">137</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR138">138</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-d5a684087cb4ca6da06b53cc3199735cR139">139</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -128,6 +128,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class FixSizeColumnTest < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_not_predicate(@n_viewed, :vector?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ assert do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ not @n_viewed.weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def test_scalar?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_predicate(@n_viewed, :scalar?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test-index-column.rb (+6 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L47">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L50">50</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L51">51</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L52">52</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482L53">53</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R47">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R48">48</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R50">50</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R51">51</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R52">52</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R53">53</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R54">54</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R55">55</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R58">58</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-a7530de0e240d0a6c6d53fe3ecbee482R59">59</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -48,6 +48,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class IndexColumnTest < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_not_predicate(@index, :vector?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ assert do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ not @index.weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def test_scalar?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_not_predicate(@index, :scalar?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: test/test-variable-size-column.rb (+13 -0)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL45">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL48">48</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL49">49</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL50">50</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL51">51</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL61">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL63">63</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL64">64</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afL67">67</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR45">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR46">46</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR47">47</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR48">48</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR49">49</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR50">50</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR51">51</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR52">52</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR53">53</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR54">54</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR55">55</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR56">56</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR57">57</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR58">58</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR68">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR69">69</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR70">70</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR71">71</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR72">72</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR73">73</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR74">74</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR75">75</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR76">76</a></span>
<span class="diff-line-number-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR77">77</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR78">78</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR79">79</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/ranguba/rroonga/commit/2e9786d9c04bb451491dd6448c53e3bfcb64eb46#diff-686aebdfaf66d9c7a4ac98310fe263afR80">80</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -46,6 +46,13 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class VariableSizeColumnTest < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @users.define_column("nick_names", "ShortText",</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :type => :vector,</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> :path => @users_nick_names_column_path.to_s)</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @users_tags_column_path = @columns_dir + "tags"</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @tags =</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @users.define_column("tags", "ShortText",</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :type => :vector,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :with_weight => true,</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ :path => @users_tags_column_path.to_s)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def setup_users</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -62,6 +69,12 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">class VariableSizeColumnTest < Test::Unit::TestCase</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_predicate(@nick_names, :vector?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> </span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ def test_weigth_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ assert do</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ @tags.weight_vector?</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+ end</span>
<span class="diff-added" style="background-color: #eaffea; color: #000000; display: block; white-space: pre">+</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def test_scalar?</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> assert_not_predicate(@nick_names, :scalar?)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>