crypto-secret.cr/spec/not_spec.cr

11 lines
222 B
Crystal
Raw Normal View History

2021-06-13 01:04:49 +02:00
require "./spec_helper"
2021-06-13 02:42:07 +02:00
require "../src/crypto-secret/not"
2021-06-13 01:04:49 +02:00
describe Crypto::Secret::Not do
it "works" do
ksize = 32
secret = Crypto::Secret::Not.new ksize
secret.to_slice.should eq Bytes.new ksize
end
end