Exemple #1
0
        public void Encode_empty_bsb()
        {
            // Arrange

            // Act
            var bsb = Bsb.Encode(0, 0, 0);

            // Assert
            Assert.AreEqual("000-000", bsb);
        }
Exemple #2
0
        public void Encode_bsb()
        {
            // Arrange

            // Act
            var bsb = Bsb.Encode(73, Bsb.State.TAS, 123);

            // Assert
            Assert.AreEqual("737-123", bsb);
        }