Sure! Below are 10 independent SVG snippets with a variety of unusual or "weird" dimension units (like ch, ex, cm, in, pt, %, vw, vh, vmin, vmax) and randomly present or missing viewBox attributes. These SVG codes can be used for testing how your environment or tool handles different SVG configurations.
1. SVG with ch units and missing viewBox
<svg width="20ch" height="15ch" xmlns="http://www.w3.org/2000/svg" >
<circle cx="10ch" cy="7.5ch" r="5ch" fill="purple"/>
</svg>
2. SVG with ex units and present viewBox
<svg width="25ex" height="20ex" viewBox="0 0 100 80" xmlns="http://www.w3.org/2000/svg">
<rect x="10" y="10" width="80" height="60" fill="orange"/>
</svg>
3. SVG with cm units and missing viewBox
<svg width="5cm" height="3cm" xmlns="http://www.w3.org/2000/svg">
<ellipse cx="2.5cm" cy="1.5cm" rx="2cm" ry="1cm" fill="teal"/>
</svg>
4. SVG with in units and present viewBox
<svg width="3in" height="2in" viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg">
<line x1="0" y1="0" x2="300" y2="200" stroke="red" stroke-width="4"/>
</svg>
5. SVG with pt units and missing viewBox
<svg width="150pt" height="100pt" xmlns="http://www.w3.org/2000/svg">
<polygon points="0,100 50,0 100,100" fill="lime"/>
</svg>
6. SVG with % units and present viewBox
<svg width="50%" height="50%" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<path d="M10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80" fill="none" stroke="blue" stroke-width="5"/>
</svg>
7. SVG with vw units and missing viewBox
<svg width="30vw" height="20vw" xmlns="http://www.w3.org/2000/svg">
<rect x="5vw" y="5vw" width="20vw" height="10vw" fill="#ffcc00"/>
</svg>
8. SVG with vh units and present viewBox
<svg width="40vh" height="30vh" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg">
<circle cx="200" cy="150" r="100" fill="pink" stroke="black" stroke-width="3"/>
</svg>
9. SVG with vmin units and missing viewBox
<svg width="25vmin" height="25vmin" xmlns="http://www.w3.org/2000/svg">
<rect width="25vmin" height="25vmin" fill="lightgreen" />
<text x="12.5vmin" y="12.5vmin" font-size="5vmin" text-anchor="middle" dominant-baseline="middle" fill="darkgreen">Test</text>
</svg>
10. SVG with vmax units and present viewBox
<svg width="30vmax" height="30vmax" viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg">
<circle cx="150" cy="150" r="100" fill="none" stroke="navy" stroke-width="10"/>
</svg>
You can copy these into your HTML or SVG viewer to test how the environment handles these combination of units and viewBox presence or absence. Let me know if you want more or specific combinations!