move module tests
parent
df06eee5e8
commit
1a22482c09
|
@ -0,0 +1,18 @@
|
||||||
|
import os
|
||||||
|
import time as t
|
||||||
|
import crypto.sha256 as s2
|
||||||
|
|
||||||
|
import (
|
||||||
|
math
|
||||||
|
log as l
|
||||||
|
crypto.sha512 as s5
|
||||||
|
)
|
||||||
|
|
||||||
|
pub fn main() {
|
||||||
|
assert os.SUCCESS == os.SUCCESS &&
|
||||||
|
t.MonthDays[0] == t.MonthDays[0] &&
|
||||||
|
s2.Size == s2.Size &&
|
||||||
|
math.Pi == math.Pi &&
|
||||||
|
l.INFO == l.INFO &&
|
||||||
|
s5.Size == s5.Size
|
||||||
|
}
|
|
@ -1,5 +0,0 @@
|
||||||
import encoding.base64
|
|
||||||
|
|
||||||
pub fn test_submodules() {
|
|
||||||
assert base64.decode('c3VibW9kdWxlcyBhcmUgd29ya2luZyE=') == 'submodules are working!'
|
|
||||||
}
|
|
Loading…
Reference in New Issue