mirror of
https://github.com/netbirdio/gomobile-tvos-fork.git
synced 2026-05-22 18:43:29 -07:00
bind: support Bool types.
Also add missing int8/int16 handling in bind/seq. Fixes golang/go#10855. Change-Id: I326ada44df10fc3c22628bdd2ae4ee2c3dc7902e Reviewed-on: https://go-review.googlesource.com/10046 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
committed by
Hyang-Ah Hana Kim
parent
b658bfdf39
commit
6d80e5a85f
@@ -22,6 +22,11 @@ public class SeqTest extends AndroidTestCase {
|
||||
assertEquals("Unexpected arithmetic failure", 7, res);
|
||||
}
|
||||
|
||||
public void testBool() {
|
||||
assertTrue(Testpkg.Negate(false));
|
||||
assertFalse(Testpkg.Negate(true));
|
||||
}
|
||||
|
||||
public void testShortString() {
|
||||
String want = "a short string";
|
||||
String got = Testpkg.StrDup(want);
|
||||
|
||||
Reference in New Issue
Block a user