FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
pixie/tests/pixie/tests/test-object.pxi at master · pixie-lang/pixie · GitHub
pixie-lang
/
pixie
Public
Notifications
You must be signed in to change notification settings
Fork
127
Star
2.4k
Code
Issues
46
Pull requests
9
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
pixie
/
tests
/
pixie
/
tests
/
test-object.pxi
Copy path
More file actions
More file actions
Latest commit
History
History
History
15 lines (11 loc) · 397 Bytes
Breadcrumbs
pixie
/
tests
/
pixie
/
tests
/
test-object.pxi
Copy path
File metadata and controls
15 lines (11 loc) · 397 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(ns pixie.tests.test
-
object
(require pixie.test :
as
t))
(t
/
deftest test
-
hash
(t
/
assert
=
(
hash
(var foo)) (
hash
(var foo)))
(t
/
assert
(
not
=
(
hash
(var foo)) (
hash
(var bar)))))
(deftype FooType [])
(t
/
deftest test
-
everything
-
is
-
an
-
object
(t
/
assert
(instance? Object
42
))
(t
/
assert
(instance? Object []))
(t
/
assert
(instance? Object
"
Foo
"
))
(t
/
assert
(instance? Object FooType)))
Back
|
FazBrowse Home
|
New Git URL