All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.jetbrains.datalore.plot.testing.SvgGenTestExpectations.kt Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
/*
 * Copyright (c) 2020. JetBrains s.r.o.
 * Use of this source code is governed by the MIT license that can be found in the LICENSE file.
 */

package jetbrains.datalore.plot.testing


val SINGLE_PLOT_STYLE_ELEMENT = """
        |  
        """.trimMargin()

val EXPECTED_SINGLE_PLOT_SVG = """
        |
        |$SINGLE_PLOT_STYLE_ELEMENT
        |  
        |  
        |  
        |    
        |      
        |        
        |          
        |          
        |          
        |            
        |            Lunch
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            Dinner
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |          
        |          
        |            
        |            0.0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            0.5
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            1.0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            1.5
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2.0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2.5
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            3.0
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |            
        |            
        |          
        |        
        |        
        |        
        |        
        |        
        |      
        |    
        |    
        |      
        |        
        |        count
        |        
        |      
        |    
        |    
        |      
        |        
        |        time
        |        
        |      
        |    
        |  
        |
        """.trimMargin()

fun expectedSingleBunchItemSvg(index: Int) = """
        |
        |$SINGLE_PLOT_STYLE_ELEMENT
        |  
        |  
        |  
        |    
        |      
        |        
        |          
        |          
        |          
        |            
        |            1
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |          
        |          
        |            
        |            0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            1
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            3
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |            
        |            
        |          
        |        
        |        
        |          
        |          
        |            
        |            
        |          
        |        
        |      
        |    
        |    
        |      
        |        
        |        b
        |        
        |      
        |    
        |    
        |      
        |        
        |        a
        |        
        |      
        |    
        |  
        |
        """.trimMargin()

val EXPECTED_BUNCH_SVG = """
        |
        |
        |
        |    
        |      
        |        
        |          
        |          
        |          
        |            
        |            1
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |          
        |          
        |            
        |            0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |            
        |            
        |          
        |        
        |        
        |          
        |          
        |            
        |            
        |          
        |        
        |      
        |    
        |    
        |      
        |        
        |        b
        |        
        |      
        |    
        |    
        |      
        |        
        |        a
        |        
        |      
        |    
        |  
        |
        |
        |    
        |      
        |        
        |          
        |          
        |          
        |            
        |            1
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |          
        |          
        |            
        |            0
        |            
        |          
        |        
        |        
        |          
        |          
        |          
        |            
        |            2
        |            
        |          
        |        
        |        
        |        
        |      
        |      
        |        
        |          
        |            
        |            
        |          
        |        
        |        
        |          
        |          
        |            
        |            
        |          
        |        
        |      
        |    
        |    
        |      
        |        
        |        b
        |        
        |      
        |    
        |    
        |      
        |        
        |        a
        |        
        |      
        |    
        |  
        |
        |
        """.trimMargin()




© 2015 - 2024 Weber Informatics LLC | Privacy Policy