Esempio n. 1
0
 private void СheckVer(SV_101_PLATFORM platform, uint major, uint minor, string compVer,
                       string serverVer, uint type)
 {
     m_Info.PlatformID = (uint)platform;
     m_Info.Major      = major;
     m_Info.Minor      = minor;
     // computer check
     m_Info.Type = type | (uint)SV_101_TYPES.SV_TYPE_SERVER_NT;
     Assert.AreEqual(compVer, m_Info.ToString());
     // server check
     m_Info.Type = type | (uint)SV_101_TYPES.SV_TYPE_SERVER |
                   (uint)SV_101_TYPES.SV_TYPE_SERVER_NT;
     Assert.AreEqual(serverVer, m_Info.ToString());
 }
Esempio n. 2
0
 private void СheckVer(SV_101_PLATFORM platform, uint major, uint minor, string compVer, uint type)
 {
     СheckVer(platform, major, minor, compVer, compVer, type);
 }