mirror of
https://github.com/crazybber/go-pattern-examples.git
synced 2024-11-29 06:56:03 +03:00
14 lines
199 B
Go
14 lines
199 B
Go
package facade
|
|
|
|
import "testing"
|
|
|
|
func TestFacadeSuperMarket(t *testing.T) {
|
|
|
|
supermarket := NewSuperMarket()
|
|
|
|
supermarket.Sell(1, 3, 5)
|
|
supermarket.Sell(2, 11, 30)
|
|
|
|
supermarket.Sell(8, 8, 30)
|
|
}
|