public void CalcMasterVersionTest() { Assert.AreEqual(MasterVersion.Ver201604, EnumUtil.CalcMasterVersion(201603)); Assert.AreEqual(MasterVersion.Ver201604, EnumUtil.CalcMasterVersion(201604)); Assert.AreEqual(MasterVersion.Ver201910, EnumUtil.CalcMasterVersion(202003)); Assert.AreEqual(MasterVersion.Ver202004, EnumUtil.CalcMasterVersion(202004)); Assert.AreEqual(MasterVersion.Ver202004, EnumUtil.CalcMasterVersion(202005)); Assert.AreEqual(MasterVersion.Ver202004, EnumUtil.CalcMasterVersion(202103)); Assert.AreEqual(MasterVersion.Ver202104, EnumUtil.CalcMasterVersion(202104)); Assert.AreEqual(MasterVersion.Ver202104, EnumUtil.CalcMasterVersion(202105)); Assert.AreEqual(MasterVersion.Ver202004, EnumUtil.CalcMasterVersion(50303)); Assert.AreEqual(MasterVersion.Ver202104, EnumUtil.CalcMasterVersion(50304)); Assert.AreEqual(MasterVersion.Ver202104, EnumUtil.CalcMasterVersion(50305)); Assert.AreEqual(MasterVersion.Ver202201, EnumUtil.CalcMasterVersion(50401)); }