Initial commit

Includes:
SCG parser
MTG cards search
This commit is contained in:
Artyom Belousov 2019-05-10 14:59:37 +03:00
commit 1af9226764
8 changed files with 181 additions and 0 deletions

13
tests/prices_test.go Normal file
View file

@ -0,0 +1,13 @@
package tests
import (
"github.com/flygrounder/mtg-price-vk/cardsinfo"
"github.com/stretchr/testify/assert"
"testing"
)
func TestParser(t *testing.T) {
prices, err := cardsinfo.GetSCGPrices("shock")
assert.Nil(t, err)
assert.NotEmpty(t, prices)
}