shoul 1.0.0

A minimal D application.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

Module shoul

Simple asserts for testing

import shoul;

10.should == 10;
10.should.not == 11;

10.should in [10, 11, 12];
10.should.not in [11, 12, 13];
10.should in [10: 11, 12: 13];
"Hello".should in "Hello World";

10.should.less = 11; // 10 < 11
10.should.not.more = 10; // 10 <= 10

10.should.more = 9; // 10 > 9
10.should.not.less = 10; 10 >=10
10.should.not.less(10); 10 >=10
Authors:
  • tynuk
Dependencies:
silly
Versions:
1.0.0 2022-Apr-17
~master 2022-Apr-17
Show all 2 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 0 downloads total

Score:
1.7
Short URL:
shoul.dub.pm