var searchIndex = {}; searchIndex["expectest"] = {"doc":"A crate provides matchers for unit testing.","items":[[0,"prelude","expectest","A module contains reexport of all useful types and functions.",null,null],[3,"ActualValue","expectest::prelude","Wrapps an actual value and a location in a source code.",null,null],[3,"BeSome","","A matcher for `be_some` assertions for `Option<T>` types.",null,null],[3,"BeCloseTo","","A matcher for `be_close_to` assertions for float numbers.",null,null],[5,"expect","","A function that intended to replace an `expect!` macro if desired.",null,{"inputs":[{"name":"a"}],"output":{"name":"actualvalue"}}],[5,"be_equal_to","","Returns new `BeEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"beequalto"}}],[5,"be_less_than","","Returns new `BeLessThan` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"belessthan"}}],[5,"be_less_or_equal_to","","Returns new `BeLessOrEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"belessorequalto"}}],[5,"be_greater_than","","Returns new `BeGreaterThan` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"begreaterthan"}}],[5,"be_greater_or_equal_to","","Returns new `BeGreaterOrEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"begreaterorequalto"}}],[5,"be_true","","Returns new `BeTrue` matcher.",null,{"inputs":[],"output":{"name":"betrue"}}],[5,"be_false","","Returns new `BeFalse` matcher.",null,{"inputs":[],"output":{"name":"befalse"}}],[5,"be_some","","Returns new `BeSome` matcher.",null,{"inputs":[],"output":{"name":"besome"}}],[5,"be_none","","Returns new `BeNone` matcher.",null,{"inputs":[],"output":{"name":"benone"}}],[5,"be_close_to","","Returns new `BeCloseTo` matcher with default `delta` equal to `0.001`.",null,{"inputs":[{"name":"e"}],"output":{"name":"becloseto"}}],[5,"be_empty","","Returns new `BeEmpty` matcher.",null,{"inputs":[],"output":{"name":"beempty"}}],[0,"core","expectest","A module contains core types of this library.",null,null],[3,"SourceLocation","expectest::core","Represents a location in a source code.",null,null],[12,"file","","Name of a file.",0,null],[12,"line","","Number of line in the file.",0,null],[3,"ActualValue","","Wrapps an actual value and a location in a source code.",null,null],[4,"Join","","An enum used to join two parts of a failure message.",null,null],[13,"To","",""to" join.",1,null],[13,"ToNot","",""to not" join.",1,null],[13,"NotTo","",""not to" join.",1,null],[5,"expect","","A function that intended to replace an `expect!` macro if desired.",null,{"inputs":[{"name":"a"}],"output":{"name":"actualvalue"}}],[5,"failure","","Prints a failure message and panics.",null,{"inputs":[{"name":"string"},{"name":"option"}],"output":null}],[11,"clone","","",0,null],[11,"new","","Creates new `SourceLocation` using `file` and `line`.",0,{"inputs":[{"name":"str"},{"name":"u32"}],"output":{"name":"sourcelocation"}}],[11,"fmt","","",0,null],[11,"location","expectest::prelude","Sets new `SourceLocation`.",2,null],[11,"to","","Performs assertion with "to" word. Prints a failure message and panics\nif an actual value does not match with an expected value.",2,null],[11,"to_not","","Performs negation with "to not" words. Prints a failure message and\npanics if an actual value matches with an expected value.",2,null],[11,"not_to","","Performs negation with "not to" words. Prints a failure message and\npanics if an actual value matches with an expected value.",2,null],[11,"fmt","expectest::core","",1,null],[11,"eq","","",1,null],[11,"fmt","","",1,null],[11,"is_assertion","","Checks if `Join` is assertion.",1,null],[8,"Matcher","","A Matcher trait.",null,null],[10,"failure_message","","Returns a failure message.",3,null],[10,"matches","","Checks if an actual value matches an expected value.",3,null],[0,"matchers","expectest","A module contains matchers.",null,null],[3,"BeEqualTo","expectest::matchers","A matcher for `be_equal_to` assertions for types that conforms to\n`PartialEq` trait.",null,null],[3,"BeLessThan","","A matcher for `be_less_than` assertions for types that conforms to\n`PartialOrd` trait.",null,null],[3,"BeLessOrEqualTo","","A matcher for `be_less_or_equal_to` assertions for types that conforms to\n`PartialOrd` trait.",null,null],[3,"BeGreaterThan","","A matcher for `be_greater_than` assertions for types that conforms to\n`PartialOrd` trait.",null,null],[3,"BeGreaterOrEqualTo","","A matcher for `be_greater_or_equal_to` assertions for types that conforms to\n`PartialOrd` trait.",null,null],[3,"BeTrue","","A matcher for `be_true` assertions.",null,null],[3,"BeFalse","","A matcher for `be_false` assertions.",null,null],[3,"BeSome","","A matcher for `be_some` assertions for `Option<T>` types.",null,null],[3,"BeNone","","A matcher for `be_none` assertions for `Option<T>` types.",null,null],[3,"BeCloseTo","","A matcher for `be_close_to` assertions for float numbers.",null,null],[3,"BeEmpty","","A matcher for `be_empty` assertions.",null,null],[5,"be_equal_to","","Returns new `BeEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"beequalto"}}],[5,"be_less_than","","Returns new `BeLessThan` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"belessthan"}}],[5,"be_less_or_equal_to","","Returns new `BeLessOrEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"belessorequalto"}}],[5,"be_greater_than","","Returns new `BeGreaterThan` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"begreaterthan"}}],[5,"be_greater_or_equal_to","","Returns new `BeGreaterOrEqualTo` matcher.",null,{"inputs":[{"name":"e"}],"output":{"name":"begreaterorequalto"}}],[5,"be_true","","Returns new `BeTrue` matcher.",null,{"inputs":[],"output":{"name":"betrue"}}],[5,"be_false","","Returns new `BeFalse` matcher.",null,{"inputs":[],"output":{"name":"befalse"}}],[5,"be_some","","Returns new `BeSome` matcher.",null,{"inputs":[],"output":{"name":"besome"}}],[5,"be_none","","Returns new `BeNone` matcher.",null,{"inputs":[],"output":{"name":"benone"}}],[5,"be_close_to","","Returns new `BeCloseTo` matcher with default `delta` equal to `0.001`.",null,{"inputs":[{"name":"e"}],"output":{"name":"becloseto"}}],[5,"be_empty","","Returns new `BeEmpty` matcher.",null,{"inputs":[],"output":{"name":"beempty"}}],[11,"failure_message","","",4,null],[11,"matches","","",4,null],[11,"failure_message","","",5,null],[11,"matches","","",5,null],[11,"failure_message","","",6,null],[11,"matches","","",6,null],[11,"failure_message","","",7,null],[11,"matches","","",7,null],[11,"failure_message","","",8,null],[11,"matches","","",8,null],[11,"failure_message","","",9,null],[11,"matches","","",9,null],[11,"failure_message","","",10,null],[11,"matches","","",10,null],[11,"value","expectest::prelude","Sets new value.",11,null],[11,"failure_message","","",11,null],[11,"matches","","",11,null],[11,"failure_message","expectest::matchers","",12,null],[11,"matches","","",12,null],[11,"delta","expectest::prelude","Sets new `delta` value.",13,null],[11,"failure_message","","",13,null],[11,"matches","","",13,null],[11,"failure_message","expectest::matchers","",14,null],[11,"matches","","",14,null],[11,"failure_message","","",14,null],[11,"matches","","",14,null],[11,"failure_message","","",14,null],[11,"matches","","",14,null],[11,"failure_message","","",14,null],[11,"matches","","",14,null],[14,"expect!","expectest","A macro used to simplify usage of this library.",null,null]],"paths":[[3,"SourceLocation"],[4,"Join"],[3,"ActualValue"],[8,"Matcher"],[3,"BeEqualTo"],[3,"BeLessThan"],[3,"BeLessOrEqualTo"],[3,"BeGreaterThan"],[3,"BeGreaterOrEqualTo"],[3,"BeTrue"],[3,"BeFalse"],[3,"BeSome"],[3,"BeNone"],[3,"BeCloseTo"],[3,"BeEmpty"]]}; initSearch(searchIndex);