27 lines
795 B
Elixir
27 lines
795 B
Elixir
defmodule UkraineTaxidEx.EdrpouTest do
|
|
use ExUnit.Case
|
|
# alias UkraineTaxidEx.Edrpou
|
|
|
|
# describe "weights/2" do
|
|
# test "returns base weights by default" do
|
|
# assert Edrpou.weights() == [1, 2, 3, 4, 5, 6, 7]
|
|
# end
|
|
|
|
# test "returns base weights when not doubled" do
|
|
# assert Edrpou.weights(:base, false) == [1, 2, 3, 4, 5, 6, 7]
|
|
# end
|
|
|
|
# test "returns alternative weights when not doubled" do
|
|
# assert Edrpou.weights(:alternative, false) == [7, 1, 2, 3, 4, 5, 6]
|
|
# end
|
|
|
|
# test "returns doubled base weights" do
|
|
# assert Edrpou.weights(:base, true) == [2, 4, 6, 8, 10, 12, 14]
|
|
# end
|
|
|
|
# test "returns doubled alternative weights" do
|
|
# assert Edrpou.weights(:alternative, true) == [14, 2, 4, 6, 8, 10, 12]
|
|
# end
|
|
# end
|
|
end
|