dict_topic_test.go 359 B

123456789101112131415161718192021222324252627
  1. package dict_topic
  2. import "testing"
  3. /*
  4. Тест для ...
  5. */
  6. type tester struct {
  7. t *testing.T
  8. dictTopic *DictTopic
  9. }
  10. func TestAny(t *testing.T) {
  11. sf := &tester{
  12. t: t,
  13. }
  14. sf.create()
  15. }
  16. func (sf *tester) create() {
  17. sf.t.Log("create")
  18. sf.dictTopic = NewDictTopic()
  19. if sf.dictTopic == nil {
  20. sf.t.Fatalf("create(): dictTopic==nil")
  21. }
  22. }