mirror of
https://github.com/littensy/charm.git
synced 2026-10-23 05:46:27 +00:00
test: add nested atom check
This commit is contained in:
parent
3e128448e0
commit
df43a9be2e
1 changed files with 3 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
local atom = require(script.Parent.Parent.Parent.atom)
|
||||
local validate = require(script.Parent.Parent.Parent.sync.validate)
|
||||
|
||||
return function()
|
||||
|
|
@ -13,6 +14,8 @@ return function()
|
|||
number = { value = 1, expected = true },
|
||||
number_infinity = { value = math.huge, expected = false },
|
||||
number_nan = { value = 0 / 0, expected = false },
|
||||
|
||||
nested_atom = { value = atom(0), expected = false },
|
||||
}
|
||||
|
||||
for key, case in cases do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue