all the refactor
This commit is contained in:
@@ -16,11 +16,11 @@ func TestReExports(t *testing.T) {
|
||||
if p.Name() != "nordic" {
|
||||
t.Errorf("Name = %q", p.Name())
|
||||
}
|
||||
if got := p.DefaultTaxRate("SE"); got != 25 {
|
||||
t.Errorf("DefaultTaxRate(SE) = %d, want 25", got)
|
||||
if got := p.DefaultTaxRate("SE"); got != 2500 {
|
||||
t.Errorf("DefaultTaxRate(SE) = %d, want 2500", got)
|
||||
}
|
||||
if got := ComputeTax(1250, 25); got != 250 {
|
||||
t.Errorf("ComputeTax(1250, 25) = %d, want 250", got)
|
||||
if got := ComputeTax(1250, 2500); got != 250 {
|
||||
t.Errorf("ComputeTax(1250, 2500) = %d, want 250", got)
|
||||
}
|
||||
|
||||
// StaticTaxProvider
|
||||
|
||||
Reference in New Issue
Block a user