Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
Signed-off-by: George Lemon <[email protected]>
  • Loading branch information
georgelemon committed Aug 20, 2023
1 parent ba012ca commit 48c8e19
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/stylesheets/test_arrays.bass
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import std/arrays

var x = ["red", "blue", "green"]
assert $x.contains("red") == true

$x.add("pink")
assert $x.contains("pink") == true

$x.pop()
assert $x.contains("pink") == false

$x.shift()
assert $x.contains("red") == false

$x.shuffle()
echo `Shuffled ${c} ${1 + 1 * 2}`
Empty file added tests/stylesheets/test_os.css
Empty file.

0 comments on commit 48c8e19

Please sign in to comment.