mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
move module tests
This commit is contained in:
parent
df06eee5e8
commit
1a22482c09
18
compiler/tests/module_test.v
Normal file
18
compiler/tests/module_test.v
Normal file
@ -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
Block a user