dgreen / graphviz-testing Goto Github PK
View Code? Open in Web Editor NEWCreated for EE433 students to report bugs discovered in GraphViz
Created for EE433 students to report bugs discovered in GraphViz
Input: Have labelangle=30
Output: Nothing changed
Expected Output: Label should be rotated 30 degrees
Run Label_Angle_Test.dot
Input: Have labeldistance=30
Output: Nothing changed
Expected Output: Label should be farther from the line and node.
Run Distant_Label_Test.dot
Input: Have fontcolor=red
Output: Nothing changed
Expected Output: Font should be in red.
Fontcolor_Test.dot
Input: Have style set to 'invis'
Output: Nothing changed
Expected Output: Edges of nodes should be invisible.
Invisible_Edges_Test.dot
Input: Have size be (0.1,0.1) in code
Output: Graph is too small to see information
Expected Output: Graph should be small enough to fit all information.
Run Small Sized Graph Test.dot
Repeatedly link a node to itself or another node using arrow type
ie: a->a
a->a .... (repeated a few thousand times)
The output will display as such:
or
dot input_file -options > output_file
May be intentional, but a default cap of arrows linking to one another could be an enhancement. With an override in the dot code if they wish to have a large amount of arrows.
dot (non-existent input file)
Expect error message indicating file cannot be found. Instead receive error message indicating file cannot be opened. Small semantic difference, but it implies that the file exists, but user access is blocked, or that there is some formatting issue with the file. Can be temporarily misleading if you are working in the command line and are targeted at the incorrect folder.
Input: Have fillcolor=red
Output: Arrowhead is filled in red
Expected Output: Node should be in red
Fillcolor_Function_Test.dot
Input: Have labelfontcolor=red
Output: Nothing changed
Expected Output: Label should be in red
Run Label_Font_Color_Error.dot
Input: Have dimensions=11
Output: Nothing changed
Expected Output: Code should not run
Too_Many_Dimenstions_Test.dot
Input: Put in code "a--> -->b"
Output: Code does not run
Expected Output: Blank bubble on graph
Run Blank_Bubble_Graph_Error.dot
Input a dot file with this line of code:
node[style=filled,color=fdsadfds];
or something similar in color field.
Output is a solid black fill as the default.
dot filename.dot
A possible improvement would be to change default fill color to white as default text color is black.
Input: Insert image=imagename.png
Output: Code did not run
Expected Output: Code should run with picture shown in node.
Picture_Perfect_Test.dot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.