2020-04-21 17:50:21 +03:00
|
|
|
package facade
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
2020-04-28 06:41:19 +03:00
|
|
|
func TestFacadeSuperMarket(t *testing.T) {
|
|
|
|
|
|
|
|
supermarket := NewSuperMarket()
|
|
|
|
|
|
|
|
supermarket.Sell(1, 3, 5)
|
|
|
|
supermarket.Sell(2, 11, 30)
|
|
|
|
|
|
|
|
supermarket.Sell(8, 8, 30)
|
2020-04-21 17:50:21 +03:00
|
|
|
}
|