We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 851afc3 commit e06d15dCopy full SHA for e06d15d
bw_test.go
@@ -29,3 +29,29 @@ func TestDemo(t *testing.T) {
29
bw.Redisplay()
30
}
31
32
+
33
+func TestSetColumn(t *testing.T) {
34
+ numbers := 220
35
36
+ bw := NewBubbleWrap(numbers).SetColumn(60)
37
+ bw.Display()
38
39
+ for i := 0; i < numbers; i++ {
40
+ time.Sleep(10 * time.Millisecond)
41
+ bw.Pop(i)
42
+ bw.Redisplay()
43
+ }
44
+}
45
46
+func TestChangeBubbleShape(t *testing.T) {
47
48
49
+ bw := NewBubbleWrap(numbers).ChangeBubbleShape("o", "x")
50
51
52
53
54
55
56
57
0 commit comments