Add two Javascript testcases converted from Python
This commit is contained in:
parent
04b46cc8a3
commit
9739be60d0
2 changed files with 27 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
var virtual_derivation = require("virtual_derivation");
|
||||
//
|
||||
// very innocent example
|
||||
//
|
||||
b = new virtual_derivation.B(3)
|
||||
if (b.get_a() != b.get_b())
|
||||
throw new Error("something is really wrong")
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue