Initial commit
Includes: SCG parser MTG cards search
This commit is contained in:
commit
1af9226764
8 changed files with 181 additions and 0 deletions
13
tests/prices_test.go
Normal file
13
tests/prices_test.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue