GetExceptionTwoAlternativeWeights() public method

public GetExceptionTwoAlternativeWeights ( int originalWeights ) : int[]
originalWeights int
return int[]
 public void CanGetSecondAlternativeExceptionTwoValue()
 {
     var target = new BankAccountDetails("123456", "10000090")
                      {
                          WeightMappings = BuildMappingList("123456", 1, 1)
                      };
     Assert.AreEqual(BankAccountDetails.AisNotZeroAndGisNineWeights, target.GetExceptionTwoAlternativeWeights(new int[1]));
 }
 private bool InitialSecondCheck(BankAccountDetails bankAccountDetails, IModulusWeightMapping mapping)
 {
     var alternativeWeightMapping = new ModulusWeightMapping(mapping)
                                        {
                                            WeightValues =
                                                bankAccountDetails
                                                .GetExceptionTwoAlternativeWeights(
                                                    mapping.WeightValues)
                                        };
     return ProcessWeightingRule(bankAccountDetails, alternativeWeightMapping);
 }
 public void CanGetUnchangedExceptionTwoWeightValues(string sc, string an, int[] initialWeights, int[] expectedWeights)
 {
     var target = new BankAccountDetails(sc, an) { WeightMappings = BuildMappingList(sc, 1, 1) };
     Assert.AreEqual(expectedWeights,target.GetExceptionTwoAlternativeWeights(initialWeights));
 }