Home | History | Annotate | Download | only in tests

Lines Matching defs:rkey

205   marisa_alpha::Key<marisa_alpha::RString> rkey;
207 ASSERT(rkey.str().length() == 0);
208 ASSERT(rkey.weight() == 0.0);
209 ASSERT(rkey.id() == 0);
210 ASSERT(rkey.terminal() == 0);
212 rkey.set_str(marisa_alpha::RString(str));
213 rkey.set_weight(4.0);
214 rkey.set_id(5);
215 rkey.set_terminal(6);
217 ASSERT(rkey.str() == marisa_alpha::RString(str));
218 ASSERT(rkey.weight() == 4.0);
219 ASSERT(rkey.id() == 5);
220 ASSERT(rkey.terminal() == 6);