Skip to content

Commit

Permalink
✅ Update specs
Browse files Browse the repository at this point in the history
  • Loading branch information
siguici committed Jan 16, 2024
1 parent 393bd16 commit 42d60d3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
9 changes: 0 additions & 9 deletions spec/hello_test.v

This file was deleted.

9 changes: 9 additions & 0 deletions spec/vest_test.v
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import vest { filter }

fn test_is_bool() {
assert filter(true).is_bool() == true
assert filter(false).is_bool() == true
assert filter(1).is_bool() == false
assert filter('').is_bool() == false
assert filter([u8(1)]).is_bool() == false
}
4 changes: 3 additions & 1 deletion spec/assert_test.v → spec/vunit_test.v
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import vut { expect }
import vunit { expect }

// Test ensure, assert and expect

fn test_primitive() {
expect(false).to_be_primitive()
Expand Down

0 comments on commit 42d60d3

Please sign in to comment.