updated test case output
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 30 Dec 2020 13:48:17 +0000 (07:48 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 30 Dec 2020 13:48:17 +0000 (07:48 -0600)
tests/struct_robustness

index e78fd204a0bff350ebcaf9290ea426de5f45e8ff..5c7b967c6aa0a65cd091a330a83774cad4e95898 100644 (file)
@@ -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