public void FromNegabinaryTest(int[] arr, int expected) { NegabinaryOperations.FromNegabinary(arr).Should().Be(expected); }
public void AddNegabinaryTest(int[] arr1, int[] arr2, int[] expected) { NegabinaryOperations.AddNegabinary(arr1, arr2).Should().BeEquivalentTo(expected); }
public void ToNegabinaryTest(int number, int[] expected) { NegabinaryOperations.ToNegabinary(number).Should().BeEquivalentTo(expected); }