Aii i

Aii i

  • NA
  • 1
  • 744

How to find valid values in a Range?

Jan 30 2016 3:21 PM
Hello there,I'm a c# beginner.
 
I'm actually working on a project that does white-box testing.
for example,if  i write this piece of code in a textfield " if(value<4)",my program will generate the following table
 
  value Output
 3 True
 5 False
 
 The table will dynamically change in size depending on the conditions.
The values  3 and 5 were randomly generated.
 
Now that you got a gist of my project,i'm stuck when it comes to more than one condition.
 
For example when it comes to this " if (value >4 && value  <=10)"..
Note: i have  functions for each of these conditions  , "=", "<",">","<=",">=","!="
 
Can someone help me with this? How do i get it to give me a true value that is in the range and a false value?
 
 

Answers (1)