1
0
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:
joe-conigliaro 2019-07-29 01:20:24 +10:00 committed by Alexander Medvednikov
parent df06eee5e8
commit 1a22482c09
2 changed files with 18 additions and 5 deletions

View 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
}

View File

@ -1,5 +0,0 @@
import encoding.base64
pub fn test_submodules() {
assert base64.decode('c3VibW9kdWxlcyBhcmUgd29ya2luZyE=') == 'submodules are working!'
}