-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
60 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...alanative/bindgen/samples/EnumTests.scala → ...calanative/bindgen/samples/EnumSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 5 additions & 8 deletions
13
...anative/bindgen/samples/ExternTests.scala → ...lanative/bindgen/samples/ExternSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
...native/bindgen/samples/FunctionTest.scala → ...native/bindgen/samples/FunctionSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
tests/samples/src/test/scala/org/scalanative/bindgen/samples/VarDefineSpec.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.scalanative.bindgen.samples | ||
|
||
import org.scalatest.FunSpec | ||
import scala.scalanative.native._ | ||
|
||
class VarDefineSpec extends FunSpec { | ||
describe("variable #define bindings") { | ||
it("should have the value of the referenced variable") { | ||
assert(VarDefine.A == 23) | ||
assert(VarDefine.CONST_INT == 10) | ||
} | ||
} | ||
} |
12 changes: 0 additions & 12 deletions
12
tests/samples/src/test/scala/org/scalanative/bindgen/samples/VarDefineTests.scala
This file was deleted.
Oops, something went wrong.