projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8048c08
)
updated test case output
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 30 Dec 2020 13:48:17 +0000
(07:48 -0600)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Wed, 30 Dec 2020 13:48:17 +0000
(07:48 -0600)
tests/struct_robustness
patch
|
blob
|
history
diff --git
a/tests/struct_robustness
b/tests/struct_robustness
index e78fd204a0bff350ebcaf9290ea426de5f45e8ff..5c7b967c6aa0a65cd091a330a83774cad4e95898 100644
(file)
--- a/
tests/struct_robustness
+++ b/
tests/struct_robustness
@@
-23,3
+23,18
@@
PolyStruct<f32, i32>(1234.0, 5678)
Testing a polymorphic struct with default values.
PolyStruct<i32, f32>(1234, 5678.0)
+
+
+Testing a union with use.
+Union(10, 20)
+Union(Joe)
+
+
+Testing a polymorphic union.
+PolyUnion(Hello World.)
+PolyUnion(1234)
+
+
+Testing a polymorphic union with use.
+8 == 8
+0, 5678.0