Переглянути джерело

Добавление теста ячейке экрана

SVI 3 роки тому
батько
коміт
b96443b65a

+ 1 - 0
libtui/v0/line_cell/cell/cell.go

@@ -3,6 +3,7 @@ package cell
 
 import (
 	"github.com/gdamore/tcell"
+	
 	"p78git.ddns.net/svi/libtui/alias"
 	"p78git.ddns.net/svi/libtui/pos"
 	"p78git.ddns.net/svi/libtui/types"

+ 22 - 0
libtui/v0/line_cell/cell/cell_test.go

@@ -0,0 +1,22 @@
+package cell
+
+import "testing"
+
+/*
+	Тест для экранной ячейки
+*/
+
+type tester struct {
+	t *testing.T
+}
+
+func TestCell(t *testing.T) {
+	test := &tester{
+		t: t,
+	}
+	test.create()
+}
+
+func (sf *tester) create() {
+	sf.t.Logf("create")
+}