Example #1
0
 public void CanReadGaeb90()
 {
     using (var gaebStream = TestFilesFactory.GetGaeb90Stream())
     {
         var gaebFile = Dangl.GAEB.Reader.GAEBReader.ReadGaeb(gaebStream);
         Assert.NotNull(gaebFile);
     }
 }
Example #2
0
 public void CanReadAsGaeb90AndTransformToGaeb2000()
 {
     using (var gaeb90Stream = TestFilesFactory.GetGaeb90Stream())
     {
         var gaeb90 = Dangl.GAEB.Reader.GAEBReader.ReadGaeb(gaeb90Stream);
         Assert.IsType <GAEB_File_90>(gaeb90);
         var project  = Dangl.AVA.Converter.Converter.ConvertFromGaeb(gaeb90);
         var gaeb2000 = Dangl.AVA.Converter.Converter.ConvertToGaeb(project, destinationType: AVA.Converter.DestinationGAEBType.GAEB2000);
         Assert.IsType <GAEB_File_2000>(gaeb2000);
     }
 }