Please add some cases like multiple units or bad units, which should fail, and one with multiple spaces (like "100    x 100"), which should work.