tests: fix crc32_test.v
parent
4f7bfaf5d0
commit
1388532bd4
|
@ -64,7 +64,6 @@ const (
|
||||||
'vlib/v/tests/typeof_test.v',
|
'vlib/v/tests/typeof_test.v',
|
||||||
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
|
'vlib/v/tests/valgrind/valgrind_test.v', // ubuntu-musl only
|
||||||
'vlib/vweb/assets/assets_test.v',
|
'vlib/vweb/assets/assets_test.v',
|
||||||
'vlib/hash/crc32/crc32_test.v'
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -8,9 +8,9 @@ module crc32
|
||||||
|
|
||||||
// polynomials
|
// polynomials
|
||||||
pub const (
|
pub const (
|
||||||
ieee = 0xedb88320
|
ieee = u32(0xedb88320)
|
||||||
castagnoli = 0x82f63b78
|
castagnoli = u32(0x82f63b78)
|
||||||
koopman = 0xeb31d82e
|
koopman = u32(0xeb31d82e)
|
||||||
)
|
)
|
||||||
|
|
||||||
// The size of a CRC-32 checksum in bytes.
|
// The size of a CRC-32 checksum in bytes.
|
||||||
|
|
Loading…
Reference in New Issue