Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Philip Woolford
seahash
Commits
fe08a08d
Commit
fe08a08d
authored
Apr 16, 2019
by
Philip Woolford
Browse files
Change test name to clarify intent
parent
c2f81d05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stream.rs
View file @
fe08a08d
...
...
@@ -125,11 +125,10 @@ impl Hasher for SeaHasher {
#[cfg(test)]
mod
tests
{
use
super
::
*
;
use
crate
::
reference
::
hash
as
reference_hash
;
use
core
::
hash
::
Hasher
;
#[test]
fn
reference
_equiv
()
{
fn
chunked
_equiv
()
{
let
test_buf
:
&
[
u8
]
=
&
[
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0xFF
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
];
let
mut
stream_hasher1
=
SeaHasher
::
default
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment