コード例 #1
0
        public void DoubleMeTheBinaryWaySuccessFor17()
        {
            var binaryMultiplicationBy2 = new BinaryMultiplicationBy2();

            Assert.AreEqual(34, binaryMultiplicationBy2.DoubleMeTheBinaryWay(17) );
        }
コード例 #2
0
        public void DoubleMeTheBinaryWaySuccessFor10945()
        {
            var binaryMultiplicationBy2 = new BinaryMultiplicationBy2();

            Assert.AreEqual(21890, binaryMultiplicationBy2.DoubleMeTheBinaryWay(10945));
        }