package discount

import "testing"

func TestTenPercent(t *testing.T) {
	if got := Apply(200, 10); got != 180 {
		t.Fatalf("Apply(200,10)=%d want=180", got)
	}
}
