-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
* Adding recursion to owning types * Formatting * Drafting new demo_gen tests * Javascript generate * Fix capitalization * Formatting * CPP gen * C generation * Dart generation * Kotlin generation * Generation adjustments * Whitespace fixes * Last whitespace adjustments * Update CyclicStructA.kt
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
import test from "ava"; | ||
import { MyStringDemo } from "diplomat-wasm-demo-gen-feature-tests"; | ||
import { MyStringDemo, CyclicStructADemo, CyclicStructCDemo, RenderInfo } from "diplomat-wasm-demo-gen-feature-tests"; | ||
|
||
test("My String", (t) => { | ||
t.is(MyStringDemo.stringTransform("a"), ""); | ||
}) | ||
}) | ||
|
||
test("Cyclic Parameters", (t) => { | ||
t.is(RenderInfo.termini["CyclicStructA.cyclicOut"].parameters[0].name, "Self:A:Field"); | ||
t.is(RenderInfo.termini["CyclicStructC.cyclicOut"].parameters[0].name, "Self:A:A:Field"); | ||
t.is(CyclicStructADemo.cyclicOut(10), "10"); | ||
t.is(CyclicStructCDemo.cyclicOut(15), "15"); | ||
}); |